|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleResourceFactory<R>
Interface representing a lifecycle resource factory.
Method Summary | |
---|---|
R |
createLifecycleResource(java.lang.String lifecycleIdentity)
Create a resource object which will be associated with the specified lifecycle identity. |
void |
destroyLifecycleResource(R resource,
java.lang.String lifecycleIdentity)
Destroy a resource object which is associated with the specified lifecycle identity. |
Method Detail |
---|
R createLifecycleResource(java.lang.String lifecycleIdentity) throws LifecycleResourceException
lifecycleIdentity
- The associated lifecycle identity.
LifecycleResourceException
- for errors during construction.void destroyLifecycleResource(R resource, java.lang.String lifecycleIdentity) throws LifecycleResourceException
resource
- The lifecycle resource.lifecycleIdentity
- The associated lifecycle identity.
LifecycleResourceException
- for errors during destroy.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |