|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.support.LifecycleStrategySupport
org.apache.camel.core.osgi.OsgiServiceRegistry
public class OsgiServiceRegistry
The OsgiServiceRegistry support to get the service object from the bundle context
Constructor Summary | |
---|---|
OsgiServiceRegistry(org.osgi.framework.BundleContext bc)
|
Method Summary | ||
---|---|---|
Object |
lookup(String name)
|
|
|
lookup(String name,
Class<T> type)
|
|
|
lookupByType(Class<T> type)
|
|
void |
onContextStop(org.apache.camel.CamelContext context)
|
Methods inherited from class org.apache.camel.support.LifecycleStrategySupport |
---|
onComponentAdd, onComponentRemove, onContextStart, onEndpointAdd, onEndpointRemove, onErrorHandlerAdd, onErrorHandlerRemove, onRouteContextCreate, onRoutesAdd, onRoutesRemove, onServiceAdd, onServiceRemove, onThreadPoolAdd, onThreadPoolRemove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OsgiServiceRegistry(org.osgi.framework.BundleContext bc)
Method Detail |
---|
public <T> T lookup(String name, Class<T> type)
lookup
in interface org.apache.camel.spi.Registry
public Object lookup(String name)
lookup
in interface org.apache.camel.spi.Registry
public <T> Map<String,T> lookupByType(Class<T> type)
lookupByType
in interface org.apache.camel.spi.Registry
public void onContextStop(org.apache.camel.CamelContext context)
onContextStop
in interface org.apache.camel.spi.LifecycleStrategy
onContextStop
in class org.apache.camel.support.LifecycleStrategySupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |