|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A marker interface for a resource. All resource objects must implement this interface.
Method Summary | |
void |
destroy()
The WS-RF runtime system ends the lifecycle of a Resource
object by invoking this method. |
java.lang.Object |
getID()
Returns the unique id of the resource. |
void |
init()
The WS-RF runtime system initializes a Resource object by
invoking this method. |
void |
setID(java.lang.Object id)
|
Method Detail |
public void setID(java.lang.Object id)
id
-
java.lang.IllegalArgumentException
- if the specified ID is not the of the correct type for this resource
java.lang.IllegalStateException
- if this resource's ID has already been setpublic java.lang.Object getID()
ResourceKey.getValue()
.
public void destroy()
Resource
object by invoking this method.
public void init()
Resource
object by
invoking this method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |