| |
|
| org.obe.spi.service.EvaluatorFactory
All known Subclasses: org.obe.runtime.evaluator.BasicEvaluatorFactory,
EvaluatorFactory | public interface EvaluatorFactory extends WorkflowService(Code) | | Provides management and registration for pluggable script evaluators.
author: Adrian Price |
deleteEvaluator | void deleteEvaluator(String contentType) throws RepositoryException(Code) | | Unregisters an evaluator.
Parameters: contentType - The MIME content type for the scripting language. throws: ObjectNotFoundException - if an evaluatorfor contentType is not registered. throws: RepositoryException - if the evaluator could not be unregisteredfor some other reason. |
findEvaluator | Evaluator findEvaluator(String contentType) throws RepositoryException(Code) | | Finds an evaluator. This method is called by the engine at run-time when
it needs to execute the evaluator with the given ID.
Parameters: contentType - The MIME content type for the scripting language. The requested evaluator. throws: ObjectNotFoundException - if an evaluatorfor contentType is not registered. throws: RepositoryException - if some other error occurred. |
findEvaluatorMetaData | EvaluatorMetaData findEvaluatorMetaData(String contentType) throws RepositoryException(Code) | | Finds meta-data for an evaluator. This method is intended to support
design-time clients and management applications.
Parameters: contentType - The MIME content type for the scripting language. Meta-data about the requested evaluator. throws: ObjectNotFoundException - if an evaluatorfor contentType is not registered. throws: RepositoryException - if some other error occurred. |
findEvaluatorType | EvaluatorMetaData findEvaluatorType(String className, String locale) throws RepositoryException(Code) | | Returns information about the specified evaluator type. This method is
intended to support design-time clients and management applications.
Parameters: className - The evaluator type (i.e., the fully qualified name ofthe implementation class). Parameters: locale - The locale in which the results should be formatted. Information about the specified evaluator type. throws: ObjectNotFoundException - if theevaluator type is unknown. throws: RepositoryException - if some other error occurred. |
findEvaluatorTypes | EvaluatorMetaData[] findEvaluatorTypes(String locale) throws RepositoryException(Code) | | Finds all evaluator types known to the repository. This method is
intended to support design-time clients and management applications.
Parameters: locale - The locale in which the results should be formatted. All evaluator types. throws: RepositoryException - if an error occurred. |
|
|
|