Class FunctionHandlerFactory


  • public class FunctionHandlerFactory
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FunctionHandlerFactory​(step.grid.contextbuilder.ApplicationContextBuilder applicationContextBuilder, step.grid.filemanager.FileManagerClient fileManagerClient)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractFunctionHandler create​(java.lang.ClassLoader classloader, java.lang.String class_, step.grid.agent.tokenpool.TokenSession tokenSession, step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession, java.util.Map<java.lang.String,​java.lang.String> properties)
      Creates a new instance of AbstractFunctionHandler
      AbstractFunctionHandler initialize​(AbstractFunctionHandler functionHandler, step.grid.agent.tokenpool.TokenSession tokenSession, step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession, java.util.Map<java.lang.String,​java.lang.String> properties)
      Initializes an instance of AbstractFunctionHandler
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FunctionHandlerFactory

        public FunctionHandlerFactory​(step.grid.contextbuilder.ApplicationContextBuilder applicationContextBuilder,
                                      step.grid.filemanager.FileManagerClient fileManagerClient)
    • Method Detail

      • create

        public AbstractFunctionHandler create​(java.lang.ClassLoader classloader,
                                              java.lang.String class_,
                                              step.grid.agent.tokenpool.TokenSession tokenSession,
                                              step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession,
                                              java.util.Map<java.lang.String,​java.lang.String> properties)
                                       throws java.lang.InstantiationException,
                                              java.lang.IllegalAccessException,
                                              java.lang.ClassNotFoundException
        Creates a new instance of AbstractFunctionHandler
        Parameters:
        classloader - the ClassLoader to be used to load the specified class
        class_ - the class to be instantiated
        tokenSession - the TokenSession to be injected to the AbstractFunctionHandler
        tokenReservationSession - the TokenReservationSession to be injected to the AbstractFunctionHandler
        properties - the properties to be injected to the AbstractFunctionHandler
        Returns:
        the created instance of AbstractFunctionHandler
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.ClassNotFoundException