|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gemini.blueprint.extender.internal.support.ExtenderConfiguration
public class ExtenderConfiguration
Configuration class for the extender. Takes care of locating the extender specific configurations and merging the results with the defaults.
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
logger |
Constructor Summary | |
---|---|
ExtenderConfiguration()
|
Method Summary | |
---|---|
protected void |
addDefaultDependencyFactories()
|
ClassLoader |
getClassLoader()
Returns the class loader wrapped around the extender bundle. |
OsgiApplicationContextCreator |
getContextCreator()
Returns the contextCreator. |
OsgiBundleApplicationContextListener |
getContextEventListener()
Returns the contextEventListener. |
List<OsgiServiceDependencyFactory> |
getDependencyFactories()
Returns the dependencies factories declared by the extender configuration. |
long |
getDependencyWaitTime()
Returns the dependencyWaitTime. |
OsgiBundleApplicationContextEventMulticaster |
getEventMulticaster()
Returns the eventMulticaster. |
List<OsgiBeanFactoryPostProcessor> |
getPostProcessors()
Returns the postProcessors. |
org.springframework.core.task.TaskExecutor |
getShutdownTaskExecutor()
Returns the shutdown task executor. |
long |
getShutdownWaitTime()
Returns the shutdownWaitTime. |
org.springframework.core.task.TaskExecutor |
getTaskExecutor()
Returns the taskExecutor. |
protected OsgiApplicationContextCreator |
postProcess(OsgiApplicationContextCreator contextCreator)
Allows post processing of the context creator. |
void |
setForceThreadShutdown(boolean forceThreadShutdown)
Sets the flag to force the taskExtender to close up in case of runaway threads - this applies *only* if the taskExecutor has been created internally. |
boolean |
shouldProcessAnnotation()
Indicates if the process annotation is enabled or not. |
void |
start(org.osgi.framework.BundleContext extenderBundleContext)
Constructs a new ExtenderConfiguration instance. |
void |
stop(org.osgi.framework.BundleContext extenderBundleContext)
Cleanup the configuration items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.logging.Log log
Constructor Detail |
---|
public ExtenderConfiguration()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext extenderBundleContext)
ExtenderConfiguration
instance. Locates the extender configuration, creates an
application context which will returned the extender items.
start
in interface org.osgi.framework.BundleActivator
extenderBundleContext
- extender OSGi bundle contextprotected OsgiApplicationContextCreator postProcess(OsgiApplicationContextCreator contextCreator)
contextCreator
-
public void stop(org.osgi.framework.BundleContext extenderBundleContext)
stop
in interface org.osgi.framework.BundleActivator
protected void addDefaultDependencyFactories()
public org.springframework.core.task.TaskExecutor getTaskExecutor()
public org.springframework.core.task.TaskExecutor getShutdownTaskExecutor()
public OsgiBundleApplicationContextListener getContextEventListener()
public long getShutdownWaitTime()
public boolean shouldProcessAnnotation()
public long getDependencyWaitTime()
public OsgiBundleApplicationContextEventMulticaster getEventMulticaster()
public void setForceThreadShutdown(boolean forceThreadShutdown)
forceThreadShutdown
- The forceThreadShutdown to set.public OsgiApplicationContextCreator getContextCreator()
public List<OsgiBeanFactoryPostProcessor> getPostProcessors()
public ClassLoader getClassLoader()
public List<OsgiServiceDependencyFactory> getDependencyFactories()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |