|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A WS-Resource.
Method Summary | |
void |
addTerminationListener(ResourceTerminationListener listener)
Adds a listener to be invoked when the resource has been terminated. |
void |
destroy()
Called by the resource home to indicate to a resource that the resource is being taken out of service. |
EndpointReference |
getEndpointReference()
Returns the EndpointReference associated with this Resource. |
java.lang.Object |
getID()
Returns the unique id of the resource. |
NamespaceVersionHolder |
getNamespaceSet()
Returns the set of specification namespaces that this resource implements. |
void |
init()
Called by the resource home to indicate to a resource that the resource is being placed into service. |
void |
setEndpointReference(EndpointReference epr)
Sets the EndpointReference associated with this Resource. |
void |
setID(java.lang.Object id)
|
Method Detail |
public void setEndpointReference(EndpointReference epr)
epr
- The EndpointReference for the Resource.public EndpointReference getEndpointReference()
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 NamespaceVersionHolder getNamespaceSet()
public void addTerminationListener(ResourceTerminationListener listener)
listener
- public void destroy()
public void init()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |