|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.beans.SimpleBeanInfo
com.ibm.websphere.rpcadapter.SimplerBeanInfo
public abstract class SimplerBeanInfo
Reduces BeanInfo programming to more of a declarative style, encoded
as String arrays in the 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 itself
SelfBeanInfo
Field Summary |
---|
Fields inherited from interface java.beans.BeanInfo |
---|
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Constructor Summary | |
---|---|
SimplerBeanInfo()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.beans.SimpleBeanInfo |
---|
getAdditionalBeanInfo, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getPropertyDescriptors, loadImage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplerBeanInfo()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |