|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPHXSelfManager
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 it's 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, the Analysis Server will call these functions. If an object does not implement this interface, the Analysis Server will use the default Bean mechanisms for interacting with the object.
IPHXComponent,
IPHXAnalysis,
IPHXDriver| Method Summary | |
|---|---|
PHXMethodDescriptor[] |
getMethodDescriptors()
function for retrieving the methods of an object |
PHXPropertyDescriptor[] |
getPropertyDescriptors(java.lang.String name)
function for retrieving the properties of an object |
java.lang.String |
getValue(java.lang.String name)
function for retrieving a specified value |
java.lang.String |
invoke(java.lang.String methodName)
invokes the named method |
void |
setValue(java.lang.String name,
java.lang.String value)
function for setting a specified value |
| Method Detail |
|---|
java.lang.String getValue(java.lang.String name)
throws PHXNoSuchObjectException,
java.lang.Exception
name - the value to retrieve
PHXNoSuchObjectException - thrown if the specified name does not exist
java.lang.Exception - an exception that may occur
void setValue(java.lang.String name,
java.lang.String value)
throws PHXNoSuchObjectException,
PHXNoSuchWriteableObjectException,
java.lang.Exception
name - the value to retrievevalue - the String representation of the value to set
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
PHXPropertyDescriptor[] getPropertyDescriptors(java.lang.String name)
throws PHXNoSuchObjectException,
java.lang.Exception
name - the object to retrieve descriptors for.
PHXNoSuchObjectException - thrown if the specified name does not exist
java.lang.Exception - an exception that may occur
PHXMethodDescriptor[] getMethodDescriptors()
throws java.lang.Exception
java.lang.Exception - an exception that may occur
java.lang.String invoke(java.lang.String methodName)
throws java.lang.Exception
methodName - the name of the method to invoke on obj
java.lang.Exception - an exception that may occur
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||