ch.elca.el4j.services.xmlmerge.factory
Class OperationResolver
java.lang.Object
ch.elca.el4j.services.xmlmerge.factory.OperationResolver
public class OperationResolver
- extends Object
Creates an operation instance given a short name (alias) or a class name.
- Author:
- Laurent Bovet (LBO), Alex Mathey (AMA)
- File-location:
- OperationResolver
- Last check-in date:
- 2009-08-04 15:24:14 +0200 (Di, 04. Aug 2009) by swismer for revision 3882
Constructor Summary |
OperationResolver(Class class1)
Creates an OperationResolver given the class representing an operation. |
Method Summary |
Operation |
resolve(String aliasOrClassName)
Resolves an alias or an operation class name to an operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperationResolver
public OperationResolver(Class class1)
- Creates an OperationResolver given the class representing an operation.
- Parameters:
class1
- The class of an operation
resolve
public Operation resolve(String aliasOrClassName)
throws ConfigurationException
- Resolves an alias or an operation class name to an operation.
- Parameters:
aliasOrClassName
- an alias or class name representing an operation
- Returns:
- The resolved operation
- Throws:
ConfigurationException
- If an error occurred during the resolving process
Copyright © 2005-2011 ELCA. All Rights Reserved.