|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.osgi.ee.resources.BaseResourceManager
org.glassfish.osgi.ee.resources.JMSResourceManager
public class JMSResourceManager
Resource-Manager to export jms-connection-factories (JMS-RA Connector-Resources) in GlassFish to OSGi's service-registry
| Field Summary |
|---|
| Fields inherited from class org.glassfish.osgi.ee.resources.BaseResourceManager |
|---|
logger, resourceHelper, services |
| Constructor Summary | |
|---|---|
JMSResourceManager(org.glassfish.osgi.ee.resources.Habitat habitat)
|
|
| Method Summary | |
|---|---|
boolean |
handlesResource(com.sun.enterprise.config.serverbeans.BindableResource resource)
indicates whether the resource-manager can handle the resource in question |
void |
registerJmsResources(org.osgi.framework.BundleContext context)
Iterates through all of the configured connector-resources of jms-ra Exposes them as OSGi service by appropriate contract which can be one of the following : javax.jms.ConnectionFactory javax.jms.QueueConnectionFactory javax.jms.TopicConnectionFactory |
void |
registerResource(com.sun.enterprise.config.serverbeans.BindableResource resource,
com.sun.enterprise.config.serverbeans.ResourceRef resRef,
org.osgi.framework.BundleContext bundleContext)
register the resource that is created or enabled |
void |
registerResources(org.osgi.framework.BundleContext context)
register all appropriate resources |
| Methods inherited from class org.glassfish.osgi.ee.resources.BaseResourceManager |
|---|
debug, getClassLoader, getHabitat, getProxy, getResourceHelper, getResources, registerResourceAsService, unRegisterResource, unRegisterResource, unRegisterResources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.osgi.ee.resources.ResourceManager |
|---|
unRegisterResource, unRegisterResources |
| Constructor Detail |
|---|
public JMSResourceManager(org.glassfish.osgi.ee.resources.Habitat habitat)
| Method Detail |
|---|
public void registerResources(org.osgi.framework.BundleContext context)
registerResources in interface ResourceManagercontext - bundle-contextpublic void registerJmsResources(org.osgi.framework.BundleContext context)
context - bundle-context
public void registerResource(com.sun.enterprise.config.serverbeans.BindableResource resource,
com.sun.enterprise.config.serverbeans.ResourceRef resRef,
org.osgi.framework.BundleContext bundleContext)
registerResource in interface ResourceManagerresource - resource that is created or enabledresRef - resource-ref of the resourcebundleContext - bundle-contextpublic boolean handlesResource(com.sun.enterprise.config.serverbeans.BindableResource resource)
handlesResource in interface ResourceManagerresource - resource to be handled
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||