![]() |
![]() |
|
|
EJB and Java Class Descriptors
Descriptors describe server-side EJBs and Java classes, and are used to pass information to the client. This appendix describes the EJB and Java class descriptor objects and their methods, including the following:
For more information about accessing EJB and Java class descriptors, see Configuring Business Operations.
ClassDescriptor Object
The com.bea.wlpi.common.ClassDescriptor object describes a server-side Java class. The ClassDescriptor is used to pass information to the client about the Java classes deployed on the server.
The following constructor can be used to for create a new ClassDescriptor object:
public ClassDescriptor(java.lang.Class javaClass)
The following table describes the ClassDescriptor object data, and the associated get methods that can be used to access that data after the object is defined.
For more information, see the com.bea.wlpi.common.ClassDescriptor Javadoc.
ClassInvocationDescriptor Object
The com.bea.wlpi.common.ClassInvocationDescriptor object describes and implements the invocation of a Java class method.
The ClassInvocationDescriptor is used to instantiate and invoke associated methods on a Java class.
The following constructors can be used to create a new ClassInvocationDescriptor object:
public ClassInvocationDescriptor(
java.lang.String description,
java.lang.String className,
com.bea.wlpi.common.MethodDescriptor constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
com.bea.wlpi.common.MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions
)
public ClassInvocationDescriptor(
java.lang.String description,
java.lang.String className,
com.bea.wlpi.common.MethodDescriptor constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
com.bea.wlpi.common.MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions,
boolean published
)
The following table describes the ClassInvocationDescriptor object data, the constructor parameters used to define the data, and the associated get and set methods that can be used to access that data after the object is defined.
Note: The following methods can be used to set specific Java class descriptor information, as specified in the previous table: For more information, see the com.bea.wlpi.common.ClassInvocationDescriptor Javadoc.
public void set(
java.lang.String description,
java.lang.String className,
com.bea.wlpi.common.MethodDescriptor
constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
com.bea.wlpi.common.MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions
)
public void set(
java.lang.String description,
java.lang.String className,
com.bea.wlpi.common.MethodDescriptor
constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
com.bea.wlpi.common.MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions,
boolean published
)
EJBDescriptor Object
The com.bea.wlpi.common.EJBDescriptor object describes an EJB. The EJBDescriptor is used to pass information to the client about EJBs deployed on the server.
The following constructor can be used to create a new EJBDescriptor object:
public EJBDescriptor()
The following table describes the EJBDescriptor object data, and the associated get and set methods that can be used to access that data after the object is defined.
For more information, see the com.bea.wlpi.common.EJBDescriptor Javadoc.
EJBInvocationDescriptor Object
The com.bea.wlpi.common.EJBInvocationDescriptor object describes and implements the invocation of an EJB method. The EJBInvocationDescriptor is used to obtain an EJB remote interface and invoke associated methods.
The following constructors can be used to create a new EJBInvocationDescriptor object:
public EJBInvocationDescriptor()
public EJBInvocationDescriptor(
java.lang.String description,
com.bea.wlpi.common.EJBDescriptor beanDescriptor,
com.bea.wlpi.common.MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
com.bea.wlpi.common.MethodDescriptor remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions
)
public EJBInvocationDescriptor(
java.lang.String description,
com.bea.wlpi.common.EJBDescriptor beanDescriptor,
com.bea.wlpi.common.MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
com.bea.wlpi.common.MethodDescriptor remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions,
boolean published
)
The following table describes the EJBInvocationDescriptor object data, the constructor parameters used to define the data, and the associated get and set methods that can be used to access that data after the object is defined.
Note: The following methods can be used to set specific EJB invocation descriptor information, as specified in the previous table: For more information, see the com.bea.wlpi.common.EJBInvocationDescriptor Javadoc.
public void set(
java.lang.String description,
com.bea.wlpi.common.EJBDescriptor beanDescriptor,
com.bea.wlpi.common.MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
com.bea.wlpi.common.MethodDescriptor
remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions
)
public void set(
java.lang.String description,
com.bea.wlpi.common.EJBDescriptor beanDescriptor,
com.bea.wlpi.common.MethodDescriptor homeMethodDescriptor,
java.lang.String[] homeParmDescriptions,
com.bea.wlpi.common.MethodDescriptor
remoteMethodDescriptor,
java.lang.String[] remoteParmDescriptions,
boolean published
)
MethodDescriptor Object
The com.bea.wlpi.common.MethodDescriptor object describes a server-side Java class method. The MethodDescriptor is used to pass information to the client about the Java class constructors and/or methods.
The following constructors can be used to create a new MethodDescriptor object:
public MethodDescriptor(java.lang.reflect.Constructor constructor)
public MethodDescriptor(java.lang.reflect.Method method)
The following table describes the MethodDescriptor object data, and the associated get methods that can be used to access that data after the object is defined.
For more information, see the com.bea.wlpi.common.MethodDescriptor Javadoc.
![]() |
![]() |
![]() |
|
Copyright © 2002 BEA Systems, Inc. All rights reserved.
|