Class 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
    • Constructor Detail

      • SerializedLazyCreationTargetSource

        public SerializedLazyCreationTargetSource()
    • Method Detail

      • 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