|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.fc.Function
com.ibm.di.fc.JavaClassFC
public class JavaClassFC
This is a function component that calls a generic java method.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.fc.Function |
|---|
logger |
| Constructor Summary | |
|---|---|
JavaClassFC()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getInstance()
Return the instance that is used when invoking the method. |
java.lang.String[] |
getMethods()
Return a list of method names in our javaClass. |
java.lang.String |
getVersion()
Version information. |
void |
initialize(java.lang.Object obj)
Called once to initialize the function |
java.lang.Object |
perform(java.lang.Object obj)
Makes a call to the java method. |
void |
setInstance(java.lang.Object obj)
Sets the instance that will be used when invoking the method. |
boolean |
updateSchema(FunctionConfig config)
This method modifies the schema in the provided configuration. |
| Methods inherited from class com.ibm.di.fc.Function |
|---|
debug, getConfiguration, getContext, getDebug, getLog, getParam, getRSInterface, getUI, initialize, logmsg, querySchema, setConfiguration, setContext, setDebug, setLog, setParam, setRSInterface, terminate, verifyInitialized |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaClassFC()
| Method Detail |
|---|
public void initialize(java.lang.Object obj)
throws java.lang.Exception
initialize in interface FunctionInterfaceinitialize in class Functionobj - Additional information
java.lang.Exception - If the configuration is not complete, or the class or
method cannot be foundpublic void setInstance(java.lang.Object obj)
obj - The instance to usepublic java.lang.Object getInstance()
public java.lang.Object perform(java.lang.Object obj)
throws java.lang.Exception
obj - An Entry containing the values of the parameters
java.lang.Exception - If no method is found. If parameters are needed, and obj is
not an Entry.public java.lang.String getVersion()
VersionInfoInterface
public java.lang.String[] getMethods()
public boolean updateSchema(FunctionConfig config)
throws java.lang.Exception
updateSchema in interface FunctionInterfaceupdateSchema in class Functionconfig - -
The new FunctionConfig to use
java.lang.Exception - :
never
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||