|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.javaee.services.ApplicationScopedResourcesManager
@Scoped(value=org.jvnet.hk2.component.Singleton.class) @Service(name="ApplicationScopedResourcesManager") public class ApplicationScopedResourcesManager
Resource manager to bind various application or module scoped resources during startup, create/update/delete of resource/pool
| Constructor Summary | |
|---|---|
ApplicationScopedResourcesManager()
|
|
| 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 |
void |
deployResources(String applicationName)
|
Resources |
getResources(String applicationName)
|
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)
|
void |
undeployResources(Resources resources)
undeploy the given set of resources resources (bindable) are removed first and then the pools |
void |
undeployResources(String applicationName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationScopedResourcesManager()
| Method Detail |
|---|
public void postConstruct()
postConstruct in interface org.jvnet.hk2.component.PostConstructpublic Resources getResources(String applicationName)
public void deployResources(String applicationName)
public void deployResources(Collection<Resource> resources)
resources - listpublic boolean isConnectorRuntimeInitialized()
public void preDestroy()
preDestroy in interface org.jvnet.hk2.component.PreDestroypublic void undeployResources(String applicationName)
public void undeployResources(Collection<Resource> resources)
public void undeployResources(Resources resources)
resources - list of resourcespublic org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerevents - list of changes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||