com.bea.wlpi.common
Class ClassDescriptor
java.lang.Object
|
+--com.bea.wlpi.common.ClassDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- public class ClassDescriptor
- extends java.lang.Object
- implements java.io.Serializable
Describes a server-side Java class. It is used to pass information on
server-side classes to the client (where the class in question may not be
accessible).
- See Also:
ClassInvocationDescriptor
,
EJBDescriptor
,
EJBInvocationDescriptor
, Serialized Form
Constructor Summary |
ClassDescriptor(java.lang.Class javaClass)
Create a new class descriptor object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassDescriptor
public ClassDescriptor(java.lang.Class javaClass)
throws WorkflowException
- Create a new class descriptor object.
- Parameters:
javaClass
- The Java class for which meta-data is required.
getMethodDescriptors
public final MethodDescriptor[] getMethodDescriptors()
- Return information about the class's methods.
- Returns:
- An array of method descriptor objects describing the class's
methods.
getConstructorDescriptors
public final MethodDescriptor[] getConstructorDescriptors()
- Return information about the class's constructors.
- Returns:
- An array of method descriptor objects describing the class's
constructors.
getModifiers
public final int getModifiers()
- Returns an int representing the modifiers for this class.
isSerializable
public final boolean isSerializable()
- Returns a boolean indicating if this class can be serialized.
toString
public java.lang.String toString()
- Return a string representation of the descriptor object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- A string representation of the object, listing all constructor
and method names.
BEA WebLogic Process Integrator is a trademark of BEA Systems, Inc.
Copyright (c) 2001 BEA Systems, Inc.
All rights reserved.