|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.MethodDescriptor
Describes a method on a server-side Java class. It is used to pass information about constructors and methods on server-side Java classes to the client, where the class in question may not be accessible.
Constructor Summary | |
MethodDescriptor(java.lang.reflect.Constructor constructor)
Create a new method descriptor to describe a constructor. |
|
MethodDescriptor(java.lang.reflect.Method method)
Create a new method descriptor to describe a method. |
Method Summary | |
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
Test two method descriptors for equality. |
protected java.lang.String |
getComparisonString()
|
java.lang.String |
getDeclaringClassName()
Return whether this is a final method. |
java.lang.String[] |
getExceptionTypes()
Return an array of fully qualified exception class names. |
java.lang.String |
getMethodName()
Return the method name. |
java.lang.String[] |
getParameterTypes()
Return an array of fully qualified parameter class or interface names. |
java.lang.String |
getReturnType()
Return the method's return type. |
boolean |
isAbstract()
Return whether this is an abstract method. |
boolean |
isFinal()
Return whether this is a final method. |
boolean |
isNative()
Return whether this is a native method. |
boolean |
isPrivate()
Return whether this is a private method or constructor. |
boolean |
isProtected()
Return whether this is a protected method or constructor. |
boolean |
isPublic()
Return whether this is a public method or constructor. |
boolean |
isStatic()
Return whether this is a static method. |
boolean |
isStrict()
Return whether this is a strict method. |
boolean |
isSynchronized()
Return whether this is a synchronized method. |
java.lang.String |
toString()
Return a string representation of the method or constructor. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public MethodDescriptor(java.lang.reflect.Method method)
method
- The method to describe.public MethodDescriptor(java.lang.reflect.Constructor constructor)
constructor
- The constructor to describe.Method Detail |
public final java.lang.String getMethodName()
public final java.lang.String[] getParameterTypes()
public final java.lang.String[] getExceptionTypes()
public final java.lang.String getReturnType()
public final boolean isPublic()
true
if this is a public method or constructor.public final boolean isPrivate()
true
if this is a private method or constructor.public final boolean isProtected()
true
if this is a protected method or constructor.public final boolean isAbstract()
true
if this is an abstract method.public final boolean isStatic()
true
if this is a static method.public final boolean isSynchronized()
true
if this is a synchronized method.public final boolean isNative()
true
if this is a native method.public final boolean isStrict()
true
if this is a strict method.public final boolean isFinal()
true
if this is a final method.public final java.lang.String getDeclaringClassName()
true
if this is a final method.public java.lang.String toString()
public int compareTo(java.lang.Object o)
protected java.lang.String getComparisonString()
public boolean equals(java.lang.Object obj)
true
if obj
is an instance of
MethodDescriptor
which has the same values as this one.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |