NodeMethodInfo Class

com.bea.wli.management.configuration
NodeMethodInfo Class

public class NodeMethodInfo

    extends Object
    implements Serializable

Entry into map from a process's method name to information about its method. This includes the associated control's class name and whether the method has a return value. This is uese by the process graph, as it is created at runtime and lacks certain information.


Hierarchy
Object
  NodeMethodInfo
All Implemented Interfaces

Serializable

Field Summary

public static final int
DTF_CONTROL
int
 

Constructor Summary

NodeMethodInfo(int controlType, boolean hasReturn)

Create a NodeMethodInfo record
NodeMethodInfo(Class ctlClass, boolean hasReturn)

Create a NodeMethodInfo record
 

Method Summary

public static String
findCtlIconId(Class ctlClass)
public String
getIconId()
Get this NodeMethnodInfo's iconID
public static ByteBuffer
getNodeMethodInfo(Class iconInterface)
public boolean
hasReturn()
Flags whether the method has a retrun value, which means node is a controlSendReturn node.
public boolean
isStaticIconFile()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

DTF_CONTROL

public static final int DTF_CONTROL

 

Constructor Detail

NodeMethodInfo

public NodeMethodInfo(int controlType, 
                      boolean hasReturn)
Create a NodeMethodInfo record

NodeMethodInfo

public NodeMethodInfo(Class ctlClass, 
                      boolean hasReturn)
Create a NodeMethodInfo record
 

Method Detail

findCtlIconId(Class) Method

public static String findCtlIconId(Class ctlClass)

Parameters

ctlClass
a controls Java class

Returns

known control Java interface name. Used as key to find icon

getIconId() Method

public String getIconId()
Get this NodeMethnodInfo's iconID

Returns

sting that identifies the iconId. This is implemented as the interface name of the control having th eicon.

getNodeMethodInfo(Class) Method

public static ByteBuffer getNodeMethodInfo(Class iconInterface)

Parameters

iconInterface
Java interface name for a known control

Returns

a ByteBuffer which is the icon file which represents controls implementing iconInterface

hasReturn() Method

public boolean hasReturn()
Flags whether the method has a retrun value, which means node is a controlSendReturn node.


isStaticIconFile() Method

public boolean isStaticIconFile()