public class FunctionHandlerFactory extends Object
| Constructor and Description |
|---|
FunctionHandlerFactory(step.grid.contextbuilder.ApplicationContextBuilder applicationContextBuilder,
step.grid.filemanager.FileManagerClient fileManagerClient) |
| Modifier and Type | Method and Description |
|---|---|
AbstractFunctionHandler |
create(ClassLoader classloader,
String class_,
step.grid.agent.tokenpool.TokenSession tokenSession,
step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession,
Map<String,String> properties)
Creates a new instance of
AbstractFunctionHandler |
AbstractFunctionHandler |
initialize(AbstractFunctionHandler functionHandler,
step.grid.agent.tokenpool.TokenSession tokenSession,
step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession,
Map<String,String> properties)
Initializes an instance of
AbstractFunctionHandler |
public FunctionHandlerFactory(step.grid.contextbuilder.ApplicationContextBuilder applicationContextBuilder,
step.grid.filemanager.FileManagerClient fileManagerClient)
public AbstractFunctionHandler create(ClassLoader classloader, String class_, step.grid.agent.tokenpool.TokenSession tokenSession, step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession, Map<String,String> properties) throws InstantiationException, IllegalAccessException, ClassNotFoundException
AbstractFunctionHandlerclassloader - the ClassLoader to be used to load the specified classclass_ - the class to be instantiatedtokenSession - the TokenSession to be injected to the AbstractFunctionHandlertokenReservationSession - the TokenReservationSession to be injected to the AbstractFunctionHandlerproperties - the properties to be injected to the AbstractFunctionHandlerAbstractFunctionHandlerInstantiationExceptionIllegalAccessExceptionClassNotFoundExceptionpublic AbstractFunctionHandler initialize(AbstractFunctionHandler functionHandler, step.grid.agent.tokenpool.TokenSession tokenSession, step.grid.agent.tokenpool.TokenReservationSession tokenReservationSession, Map<String,String> properties)
AbstractFunctionHandlerfunctionHandler - the instance to be initializedtokenSession - the TokenSession to be injected to the AbstractFunctionHandlertokenReservationSession - the TokenReservationSession to be injected to the AbstractFunctionHandlerproperties - the properties to be injected to the AbstractFunctionHandlerAbstractFunctionHandlerCopyright © 2019. All rights reserved.