| |
|
| org.obe.spi.service.FunctionFactory
All known Subclasses: org.obe.runtime.evaluator.BasicFunctionFactory,
FunctionFactory | public interface FunctionFactory extends WorkflowService(Code) | | Provides management and registration for pluggable script functions.
author: Adrian Price |
findFunctionMetaData | FunctionSetMetaData findFunctionMetaData(String className) throws RepositoryException(Code) | | Finds meta-data for an evaluator. This method is intended to support
design-time clients and management applications.
Parameters: className - The name of the implementation class. Meta-data about the requested function set. throws: ObjectNotFoundException - if a functionset for className is not registered. throws: RepositoryException - if some other error occurred. |
findFunctionSet | Class findFunctionSet(String className) throws RepositoryException(Code) | | Finds a function set. This method is called by the engine at run-time
when it needs to invoke a function from the function set with the given
class name.
Parameters: className - The fully qualified name of the implementing class. The requested function set. throws: ObjectNotFoundException - if an functionset for className is not registered. throws: RepositoryException - if some other error occurred. |
findFunctionType | FunctionSetMetaData findFunctionType(String className, String locale) throws RepositoryException(Code) | | Returns information about the specified function type. This method is
intended to support design-time clients and management applications.
Parameters: className - The function 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. |
findFunctionTypes | FunctionSetMetaData[] findFunctionTypes(String locale) throws RepositoryException(Code) | | Finds all function 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. |
|
|
|