org.onebusaway.container.spring
Class SerializedLazyCreationTargetSource
java.lang.Object
org.springframework.aop.target.AbstractLazyCreationTargetSource
org.onebusaway.container.spring.SerializedLazyCreationTargetSource
- All Implemented Interfaces:
- org.springframework.aop.TargetClassAware, org.springframework.aop.TargetSource
public class SerializedLazyCreationTargetSource
- extends org.springframework.aop.target.AbstractLazyCreationTargetSource
A Spring FactoryBean
for lazily instantiating a serialized bean from
a file as needed
- Author:
- bdferris
Fields inherited from class org.springframework.aop.target.AbstractLazyCreationTargetSource |
logger |
Methods inherited from class org.springframework.aop.target.AbstractLazyCreationTargetSource |
getTarget, getTargetClass, isInitialized, isStatic, releaseTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedLazyCreationTargetSource
public SerializedLazyCreationTargetSource()
setPath
public void setPath(File path)
setInitMethod
public void setInitMethod(String method)
createObject
protected Object createObject()
throws Exception
- Specified by:
createObject
in class org.springframework.aop.target.AbstractLazyCreationTargetSource
- Throws:
Exception
Copyright © 2012 OneBusAway. All Rights Reserved.