|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.aop.target.AbstractLazyCreationTargetSource
org.springframework.jmx.support.MBeanServerConnectionFactoryBean.MBeanServerConnectionLazyInitTargetSource
private class MBeanServerConnectionFactoryBean.MBeanServerConnectionLazyInitTargetSource
Lazily creates an MBeanServerConnection
.
Field Summary |
---|
Fields inherited from class org.springframework.aop.target.AbstractLazyCreationTargetSource |
---|
logger |
Constructor Summary | |
---|---|
private |
MBeanServerConnectionFactoryBean.MBeanServerConnectionLazyInitTargetSource()
|
Method Summary | |
---|---|
protected java.lang.Object |
createObject()
Subclasses should implement this method to return the lazy initialized object. |
java.lang.Class<?> |
getTargetClass()
This default implementation returns null if the
target is null (it is hasn't yet been initialized),
or the target class if the target has already been initialized. |
Methods inherited from class org.springframework.aop.target.AbstractLazyCreationTargetSource |
---|
getTarget, isInitialized, isStatic, releaseTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private MBeanServerConnectionFactoryBean.MBeanServerConnectionLazyInitTargetSource()
Method Detail |
---|
protected java.lang.Object createObject() throws java.lang.Exception
AbstractLazyCreationTargetSource
createObject
in class AbstractLazyCreationTargetSource
java.lang.Exception
- if creation failedpublic java.lang.Class<?> getTargetClass()
AbstractLazyCreationTargetSource
null
if the
target is null
(it is hasn't yet been initialized),
or the target class if the target has already been initialized.
Subclasses may wish to override this method in order to provide
a meaningful value when the target is still null
.
getTargetClass
in interface TargetClassAware
getTargetClass
in interface TargetSource
getTargetClass
in class AbstractLazyCreationTargetSource
TargetSource
AbstractLazyCreationTargetSource.isInitialized()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |