|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.javaee.services.ResourceManager
@Scoped(value=org.jvnet.hk2.component.Singleton.class) @Service(name="ResourceManager") public class ResourceManager
Resource manager to bind various resources during start-up, create/update/delete of resource/pool
| Constructor Summary | |
|---|---|
ResourceManager()
|
|
| Method Summary | |
|---|---|
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changed |
void |
deployResources(Collection<Resource> resources)
deploy resources |
Resources |
getAllResources()
|
boolean |
isConnectorRuntimeInitialized()
Check whether connector-runtime is initialized. |
void |
postConstruct()
|
void |
preDestroy()
Do cleanup of system-resource-adapter, resources, pools |
void |
undeployResources(Collection<Resource> resources)
undeploy the given set of resources care has to be taken for the case of dependent resources eg : all resources need to be undeployed before undeploying the pool that they refer to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceManager()
| Method Detail |
|---|
public void postConstruct()
postConstruct in interface org.jvnet.hk2.component.PostConstructpublic void deployResources(Collection<Resource> resources)
resources - listpublic Resources getAllResources()
public void preDestroy()
preDestroy in interface org.jvnet.hk2.component.PreDestroypublic void undeployResources(Collection<Resource> resources)
resources - list of resourcespublic org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerevents - list of changespublic boolean isConnectorRuntimeInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||