|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.glassfish.osgi.ee.resources.ResourceProviderService
public class ResourceProviderService
A service to export resources in GlassFish to OSGi's service-registry.
OSGi applications can use ServiceReference to get access to these resources.
OSGi applications can do lookup of appropriate type of
ServiceReference with the filter "jndi-name"
For JDBC Resources, additional filter "osgi.jdbc.driver.class" that indicates the
driver-class-name/datasource-class-name will work.
| Constructor Summary | |
|---|---|
ResourceProviderService(org.glassfish.osgi.ee.resources.Habitat habitat,
org.osgi.framework.BundleContext bundleContext)
|
|
| Method Summary | |
|---|---|
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changed |
void |
postConstruct()
register config bean proxy change listeners |
void |
preDestroy()
un-register config bean proxy change listeners |
void |
registerResources()
|
void |
unRegisterResources()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceProviderService(org.glassfish.osgi.ee.resources.Habitat habitat,
org.osgi.framework.BundleContext bundleContext)
| Method Detail |
|---|
public void registerResources()
public void unRegisterResources()
public void preDestroy()
public void postConstruct()
public 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 | ||||||||