public abstract class SimplerBeanInfo
extends java.beans.SimpleBeanInfo
getBeanDescriptorInfo
method.
If the Bean implementation itself can be modified, then the BeanInfo class
is not even necessary; rather, the Bean implements the
SelfBeanInfo
tag interface and the getBeanDescriptorInfo
method itselfSelfBeanInfo
Constructor and Description |
---|
SimplerBeanInfo() |
Modifier and Type | Method and Description |
---|---|
java.beans.BeanDescriptor |
getBeanDescriptor()
Implements parsing of the declarative descriptors from
getBeanDescriptorInfo . |
abstract java.lang.String[][] |
getBeanDescriptorInfo()
Returns BeanInfo-style information encoded as String arrays.
|
java.beans.MethodDescriptor[] |
getMethodDescriptors()
Implements parsing of the declarative descriptors from
getBeanDescriptorInfo . |
void |
setBeanClass(java.lang.Class clazz)
The associated Bean class must be set in order to compute Method descriptors.
|
public abstract java.lang.String[][] getBeanDescriptorInfo()
{"bean", "oneInstancePerUser", "true" | "false"}If
oneInstancePerUser
is true, then Bean instances are stored in the
users' HttpSession
for subsequent reuse. Default value is "false"
.
Method-level information is encoded as:
{"method", <methodName>, <methodDescription>, "GET" | "POST", [<parmName_0>, <parmDesc_0>, ...]}Parameter names must be specified in the order they appear in the method signature. Only methods declared in the descriptor info are exposed by the RPC Adapter.
public void setBeanClass(java.lang.Class clazz)
clazz
- Bean classpublic java.beans.BeanDescriptor getBeanDescriptor()
getBeanDescriptorInfo
.
Do not override unless you need to change the base functionality.getBeanDescriptor
in interface java.beans.BeanInfo
getBeanDescriptor
in class java.beans.SimpleBeanInfo
public java.beans.MethodDescriptor[] getMethodDescriptors()
getBeanDescriptorInfo
.
Do not override unless you need to change the base functionality.getMethodDescriptors
in interface java.beans.BeanInfo
getMethodDescriptors
in class java.beans.SimpleBeanInfo