|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides management and registration for pluggable script functions.
| Field Summary | |
static java.lang.String |
SERVICE_NAME
|
| Method Summary | |
void |
createFunctionSet(FunctionSetMetaData funcs)
Registers a function set. |
void |
deleteFunctionSet(java.lang.String implClass)
Unregisters a function set. |
FunctionSetMetaData[] |
findFunctionMetaData()
Finds meta-data for all evaluators. |
FunctionSetMetaData |
findFunctionMetaData(java.lang.String className)
Finds meta-data for an evaluator. |
java.lang.Class |
findFunctionSet(java.lang.String className)
Finds a function set. |
FunctionSetMetaData |
findFunctionType(java.lang.String className,
java.lang.String locale)
Returns information about the specified function type. |
FunctionSetMetaData[] |
findFunctionTypes(java.lang.String locale)
Finds all function types known to the repository. |
void |
updateFunctionSet(FunctionSetMetaData funcs)
Updates a function set definition. |
| Methods inherited from interface org.obe.spi.WorkflowService |
exit, getServiceManager, getServiceName, init |
| Field Detail |
public static final java.lang.String SERVICE_NAME
| Method Detail |
public void createFunctionSet(FunctionSetMetaData funcs)
throws RepositoryException
funcs - The function set definition.
ObjectAlreadyExistsException - if the
implementation class is already registered.
RepositoryException - if the evaluator could not be registered
for some other reason.
public void deleteFunctionSet(java.lang.String implClass)
throws RepositoryException
implClass - The fully qualified implementation class name.
ObjectNotFoundException - if the
implementation class is not registered.
RepositoryException - if the evaluator could not be unregistered
for some other reason.
public void updateFunctionSet(FunctionSetMetaData funcs)
throws RepositoryException
funcs - The function set definition.
ObjectNotFoundException - if an function
set for the implementation class in question is not registered.
RepositoryException - if the function set could not be updated for
some other reason.
public FunctionSetMetaData[] findFunctionTypes(java.lang.String locale)
throws RepositoryException
locale - The locale in which the results should be formatted.
RepositoryException - if an error occurred.
public FunctionSetMetaData findFunctionType(java.lang.String className,
java.lang.String locale)
throws RepositoryException
className - The function type (i.e., the fully qualified name of
the implementation class).locale - The locale in which the results should be formatted.
ObjectNotFoundException - if the
evaluator type is unknown.
RepositoryException - if some other error occurred.
public FunctionSetMetaData[] findFunctionMetaData()
throws RepositoryException
RepositoryException - if an error occurred.
public FunctionSetMetaData findFunctionMetaData(java.lang.String className)
throws RepositoryException
className - The name of the implementation class.
ObjectNotFoundException - if a function
set for className is not registered.
RepositoryException - if some other error occurred.
public java.lang.Class findFunctionSet(java.lang.String className)
throws RepositoryException
className - The fully qualified name of the implementing class.
ObjectNotFoundException - if an function
set for className is not registered.
RepositoryException - if some other error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||