org.springframework.jmx.export
Class MBeanExporter.NotificationPublisherAwareLazyTargetSource
java.lang.Object
org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource
org.springframework.aop.target.LazyInitTargetSource
org.springframework.jmx.export.MBeanExporter.NotificationPublisherAwareLazyTargetSource
- All Implemented Interfaces:
- java.io.Serializable, TargetClassAware, TargetSource, Aware, BeanFactoryAware
- Enclosing class:
- MBeanExporter
private class MBeanExporter.NotificationPublisherAwareLazyTargetSource
- extends LazyInitTargetSource
Extension of LazyInitTargetSource
that will inject a
NotificationPublisher
into the lazy resource as it is created if required.
Field Summary |
private javax.management.modelmbean.ModelMBean |
modelMBean
|
private javax.management.ObjectName |
objectName
|
Method Summary |
protected void |
postProcessTargetObject(java.lang.Object targetObject)
Subclasses may override this method to perform additional processing on
the target object when it is first loaded. |
void |
setModelMBean(javax.management.modelmbean.ModelMBean modelMBean)
|
void |
setObjectName(javax.management.ObjectName objectName)
|
Methods inherited from class org.springframework.aop.target.AbstractBeanFactoryBasedTargetSource |
copyFrom, equals, getBeanFactory, getTargetBeanName, getTargetClass, hashCode, isStatic, releaseTarget, setBeanFactory, setTargetBeanName, setTargetClass, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
modelMBean
private javax.management.modelmbean.ModelMBean modelMBean
objectName
private javax.management.ObjectName objectName
MBeanExporter.NotificationPublisherAwareLazyTargetSource
private MBeanExporter.NotificationPublisherAwareLazyTargetSource()
setModelMBean
public void setModelMBean(javax.management.modelmbean.ModelMBean modelMBean)
setObjectName
public void setObjectName(javax.management.ObjectName objectName)
postProcessTargetObject
protected void postProcessTargetObject(java.lang.Object targetObject)
- Description copied from class:
LazyInitTargetSource
- Subclasses may override this method to perform additional processing on
the target object when it is first loaded.
- Overrides:
postProcessTargetObject
in class LazyInitTargetSource
- Parameters:
targetObject
- the target object that has just been instantiated (and configured)