private class MBeanExporter.NotificationPublisherAwareLazyTargetSource extends LazyInitTargetSource
LazyInitTargetSource
that will inject a
NotificationPublisher
into the lazy resource as it is created if required.Modifier and Type | Field and Description |
---|---|
private javax.management.modelmbean.ModelMBean |
modelMBean |
private javax.management.ObjectName |
objectName |
logger
Modifier | Constructor and Description |
---|---|
private |
MBeanExporter.NotificationPublisherAwareLazyTargetSource() |
Modifier and Type | Method and Description |
---|---|
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) |
getTarget
copyFrom, equals, getBeanFactory, getTargetBeanName, getTargetClass, hashCode, isStatic, releaseTarget, setBeanFactory, setTargetBeanName, setTargetClass, toString
private javax.management.modelmbean.ModelMBean modelMBean
private javax.management.ObjectName objectName
private MBeanExporter.NotificationPublisherAwareLazyTargetSource()
public void setModelMBean(javax.management.modelmbean.ModelMBean modelMBean)
public void setObjectName(javax.management.ObjectName objectName)
protected void postProcessTargetObject(java.lang.Object targetObject)
LazyInitTargetSource
postProcessTargetObject
in class LazyInitTargetSource
targetObject
- the target object that has just been instantiated (and configured)