|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceNotification
A resource notification is related to a change in the state of a resource. It is sent to all resource observers when appropriate. The notification contains the type of change and access to the resource information. This includes:
Field Summary | |
---|---|
static String |
CHANGED
A resource property has been changed |
static String |
CLOSE
A resource is being closed |
static String |
CLOSED
A resource has been closed |
static String |
DISPOSE
A resource is being disposed |
static String |
OPEN
A resource is being opened |
static String |
OPENED
A resource has been opened |
static String |
PREPARE
A resource has been prepared |
Method Summary | |
---|---|
ResourceParameters |
getParameters()
Returns the parameters of the resource that caused this notification. |
Resource |
getResource()
Returns the resource that caused this notification. |
String |
getType()
Returns the type of this notification. |
Field Detail |
---|
static final String OPENED
static final String CLOSED
static final String PREPARE
static final String CHANGED
static final String DISPOSE
static final String OPEN
static final String CLOSE
Method Detail |
---|
ResourceParameters getParameters()
Resource getResource()
String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |