public interface LibraryOperation
Modifier and Type | Method and Description |
---|---|
String |
getContext() |
List<String> |
getImplicitParameterNames()
Impicit means that these parameters are not specified by getParameterTypes()
and should be loaded from the environment object using their names
without any changes.
|
Library |
getLibrary() |
String |
getName() |
String |
getOperationReference(String[] parameterNames) |
List<String> |
getParameterTypes() |
String |
getReturnType() |
void |
load() |
Object |
run(Object context,
Object[] parameterValues,
Object[] implicitParameterValues,
Class<?> returnTypeClass)
Called then native extension should be executed.
|
Library getLibrary()
void load() throws LibraryOperationException
LibraryOperationException
String getContext()
String getName()
String getReturnType()
List<String> getParameterTypes()
List<String> getImplicitParameterNames()
run(...)
method i.e.
added into the parameterValues array as a first part of it.Object run(Object context, Object[] parameterValues, Object[] implicitParameterValues, Class<?> returnTypeClass)
java
- object representing context element ("self" variable)parameterValues
- array of java objects which should be passed as a parameters
to the native operation implementationimplicitParameters
- array of java objects which should be passes as an implicit
parameters to the native operation implementationreturnTypeClass
- java class which should be returned by this native operationCopyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.