|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionProvider
Implementations of this class provide Function
implementations.
Method Summary | |
---|---|
Function |
create(List<Expression> params)
Creates a new Function instance. |
void |
destroy()
Called by FunctionManager once when this FunctionProvider is being taken out of service. |
List<ParameterType> |
getArgs()
Returns the type information for the inputs of the provided function. |
String |
getName()
Returns the name of the provided function. |
ParameterType |
getReturnType()
Returns the type information for the output of the provided function. |
void |
init(DeegreeWorkspace ws)
Called by FunctionManager once when this FunctionProvider is being taken into service. |
Method Detail |
---|
void init(DeegreeWorkspace ws) throws ResourceInitException
FunctionManager
once when this FunctionProvider
is being taken into service.
ws
- workspace context, never null
ResourceInitException
- if the initialization failsvoid destroy()
FunctionManager
once when this FunctionProvider
is being taken out of service.
String getName()
null
List<ParameterType> getArgs()
null
ParameterType getReturnType()
null
Function create(List<Expression> params)
Function
instance.
params
- params for the new function, may be empty, but never null
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |