Skip to main content
Package: com.phoenix_int.aserver Known Subinterfaces Known Implementing Classes Declaration
This interface is for components that determine their properties at runtime. These types of components do not know what variables they have until they are started. Examples include wrappers that communicate with external programs—once the wrapper starts up, it loads a file into the external program. The external program then can be queried for its variables, which are then relayed through the analysis object. To handle this type of situation, a component should implement the functions provided by this interface. When present, ModelCenter Remote Execution will call these functions. If an object does not implement this interface, the MCRE will use the default Bean mechanisms for interacting with the object. See Also:

Method Summary

Method Detail

getValue

Function for retrieving a specified value. Parameters:
  • name - the value to retrieve
Returns:
  • a String representation of the value
Throws:
  • PHXNoSuchObjectException - thrown if the specified name does not exist
  • java.lang.Exception - an exception that may occur

setValue

Function for setting a specified value. Parameters:
  • name - the value to retrieve
  • value - the String representation of the value to set
Throws:
  • PHXNoSuchObjectException - thrown if the specified name does not exist
  • PHXNoSuchWriteableObjectException - thrown if the specified name cannot be modified
  • java.lang.Exception - an exception that may occur

getPropertyDescriptors

Function for retrieving the properties of an object. Parameters:
  • name - the object to retrieve descriptors for
Returns:
  • an array of PHXPropertyDescriptors
Throws:
  • PHXNoSuchObjectException - thrown if the specified name does not exist
  • java.lang.Exception - an exception that may occur

getMethodDescriptors

Function for retrieving the methods of an object. Returns:
  • an array of MethodDescriptors
Throws:
  • java.lang.Exception - an exception that may occur

invoke

Invokes the named method. Parameters:
  • methodName - the name of the method to invoke on obj
Returns:
  • the return value from the invocation
Throws:
  • java.lang.Exception - an exception that may occur