|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gemini.blueprint.compendium.internal.cm.ManagedServiceInstanceTrackerPostProcessor
public class ManagedServiceInstanceTrackerPostProcessor
Post processor tracking the creation and destruction of managed service instances. The instances tracked are subject to Configuration Admin based injection.
| Constructor Summary | |
|---|---|
ManagedServiceInstanceTrackerPostProcessor(String beanNameToTrack)
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
Object |
postProcessAfterInitialization(Object bean,
String beanName)
|
void |
postProcessBeforeDestruction(Object bean,
String beanName)
|
Object |
postProcessBeforeInitialization(Object bean,
String beanName)
|
void |
setAutowireOnUpdate(boolean autowireOnUpdate)
Sets whether autowire on update should be performed automatically or not. |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Set the BundleContext that this bean runs in. |
void |
setPersistentId(String pid)
Sets the pid for the configuration manager. |
void |
setUpdateMethod(String methodName)
Sets the method name, for bean-managed update strategy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedServiceInstanceTrackerPostProcessor(String beanNameToTrack)
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanException
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansException
public void postProcessBeforeDestruction(Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeDestruction in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic void setBundleContext(org.osgi.framework.BundleContext bundleContext)
BundleContextAwareBundleContext that this bean runs in. Normally this can
be used to initialize an object.
setBundleContext in interface BundleContextAwarebundleContext - the BundleContext object to be used
by this object
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void setPersistentId(String pid)
pid - The pid to set.public void setAutowireOnUpdate(boolean autowireOnUpdate)
autowireOnUpdate - public void setUpdateMethod(String methodName)
updateMethod - The updateMethod to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||