|
||||||||||
| 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.
| Constructor Summary | |
|---|---|
ExtenderConfiguration(org.osgi.framework.BundleContext bundleContext,
org.apache.commons.logging.Log log)
Constructs a new ExtenderConfiguration instance. |
|
| Method Summary | |
|---|---|
protected void |
addDefaultDependencyFactories()
|
void |
destroy()
Cleanup the configuration items. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtenderConfiguration(org.osgi.framework.BundleContext bundleContext,
org.apache.commons.logging.Log log)
ExtenderConfiguration instance. Locates the extender configuration, creates an
application context which will returned the extender items.
bundleContext - extender OSGi bundle context| Method Detail |
|---|
protected OsgiApplicationContextCreator postProcess(OsgiApplicationContextCreator contextCreator)
contextCreator -
public void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanprotected 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 | |||||||||