|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tibco.tibjms.admin.hawk.HawkParser
This class provides assistance for building Hawk return values. It provides type safety and checks for null values, which are not allowed as return values. One instance of this class is created for each type of MicroAgent. The Parser class can spawn instances of HawkReturn or HawkTabReturn that methods can use for building the actual return values.
Constructor Summary | |
HawkParser(MicroAgentDescriptor ma_desc)
Create a parser for the micro agent described by ma_desc. |
Method Summary | |
HawkReturn |
getReturn(java.lang.String methodName)
Get a return value builder appropriate for the named method. |
HawkTabReturn |
getTabularReturn(java.lang.String methodName)
Get a tabular return value builder appropriate for the named method. |
CompositeData |
returnOneValue(java.lang.String methodName,
boolean value)
Convenience function for returning a simple boolean value. |
CompositeData |
returnOneValue(java.lang.String methodName,
int value)
Convenience function for returning a simple integer value. |
CompositeData |
returnOneValue(java.lang.String methodName,
long value)
Convenience function for returning a simple long value. |
CompositeData |
returnOneValue(java.lang.String methodName,
java.lang.Object value)
Convenience function for returning a simple object value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HawkParser(MicroAgentDescriptor ma_desc)
Method Detail |
public HawkReturn getReturn(java.lang.String methodName) throws MicroAgentException
MicroAgentException
public HawkTabReturn getTabularReturn(java.lang.String methodName) throws MicroAgentException
MicroAgentException
public CompositeData returnOneValue(java.lang.String methodName, java.lang.Object value) throws MicroAgentException
MicroAgentException
public CompositeData returnOneValue(java.lang.String methodName, int value) throws MicroAgentException
MicroAgentException
public CompositeData returnOneValue(java.lang.String methodName, long value) throws MicroAgentException
MicroAgentException
public CompositeData returnOneValue(java.lang.String methodName, boolean value) throws MicroAgentException
MicroAgentException
|
TIBCO Enterprise Message Service Version 4.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |