public class DefaultOSWorkflowConfigurator extends Object implements Startable, OSWorkflowConfigurator
TypeResolver
.Constructor and Description |
---|
DefaultOSWorkflowConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
registerTypeResolver(String className,
com.opensymphony.workflow.TypeResolver typeResolver)
Registers a
TypeResolver for the given class. |
void |
start()
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
void |
unregisterTypeResolver(String className,
com.opensymphony.workflow.TypeResolver typeResolver)
Unregisters a
TypeResolver from the given class. |
public void start() throws Exception
Startable
public void registerTypeResolver(String className, com.opensymphony.workflow.TypeResolver typeResolver)
OSWorkflowConfigurator
TypeResolver
for the given class. The last registered resolver against the class name will
take effect.registerTypeResolver
in interface OSWorkflowConfigurator
className
- the class name.typeResolver
- the resolver to register; should not be null.public void unregisterTypeResolver(String className, com.opensymphony.workflow.TypeResolver typeResolver)
OSWorkflowConfigurator
TypeResolver
from the given class. This class will no longer be mapped to any resolvers.unregisterTypeResolver
in interface OSWorkflowConfigurator
className
- the class name.typeResolver
- the resolver to unregister; should not be null.Copyright © 2002-2017 Atlassian. All Rights Reserved.