Class JoramDestination

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean

    public class JoramDestination
    extends Object
    implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.DisposableBean
    This class holds the Joram destination. If set the destination can be deleted on destroy.
    • Field Detail

      • logger

        public static final Logger logger
      • deleteOnStop

        private boolean deleteOnStop
    • Constructor Detail

      • JoramDestination

        public JoramDestination()
    • Method Detail

      • setDestination

        public void setDestination​(Destination dest)
        Parameters:
        dest - the Joram destination to set
      • getObject

        public Object getObject()
                         throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
        Throws:
        Exception
      • getObjectType

        public Class getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
      • destroy

        public void destroy()
                     throws Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        Exception
      • isDeleteOnStop

        public boolean isDeleteOnStop()
        Returns:
        the deleteOnStop
      • setDeleteOnStop

        public void setDeleteOnStop​(boolean deleteOnStop)
        Parameters:
        deleteOnStop - the deleteOnStop to set