org.apache.bsf.engines.activescript
Class JavaBean
public final
class
JavaBean
extends Object
Method Summary |
static int | bindMember(Class jclass, String name)
Bind the member to a unique index. |
static int | bindMember(Class jclass, String name, short bindType)
Bind the member to a unique index. |
static Object | callMethod(JavaBeanAddEventListener engine, Object bean, int methodID, Object[] args)
Call a method, property getter, or property setter.
|
public static final int bindMember(Class jclass, String name)
Bind the member to a unique index. Use positive indexes for methods,
negative indexes for properties. Matches are case insensitive
Convenience fuction for those engines not knowing dispatch type, case insensitive, and not wanting exception
public static final int bindMember(Class jclass, String name, short bindType)
Bind the member to a unique index. Use positive indexes for methods,
negative indexes for properties. Matches are case insensitive.
Call a method, property getter, or property setter.
If index > 0 then call simple method.
Else if argc = 0 then call getter
Else call setter