|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb3.common.lang.SerializableMethod
public class SerializableMethod
SerializableMethod A Serializable view of an Invoked Method, providing overridden implementations of hashCode, equals, and toString JIRA: EJBTHREE-1269
Constructor Summary | |
---|---|
SerializableMethod(Method method)
Constructor Creates a Serializable Method View, using the declaring class of the specified method as the actual class |
|
SerializableMethod(Method method,
Class<?> actualClass)
Constructor Creates a Serializable Method View, allowing for an alternate "actual class" defining the method in addition to the declaring class |
|
SerializableMethod(Method method,
String actualClassName)
Constructor Creates a Serializable Method View, allowing for an alternate "actual class" defining the method in addition to the declaring class |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getActualClassName()
|
String[] |
getArgumentTypes()
|
protected Class<?> |
getClassFromName(String name,
ClassLoader cl)
Returns the class associated with the given name |
Class<?> |
getClassType()
Obtains the Class described by this view, using the TCL |
Class<?> |
getClassType(ClassLoader cl)
Obtains the Class described by this view, using the specified ClassLoader |
String |
getDeclaringClassName()
|
String |
getName()
|
String |
getReturnType()
|
int |
hashCode()
|
void |
setActualClassName(String actualClassName)
|
void |
setArgumentTypes(String[] argumentTypes)
|
void |
setDeclaringClassName(String className)
|
void |
setName(String name)
|
void |
setReturnType(String returnType)
|
Method |
toMethod()
Obtains the Method described by this view, using the TCL |
Method |
toMethod(ClassLoader cl)
Obtains the Method described by this view, using the ClassLoader specified |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SerializableMethod(Method method)
method
- The method this view representspublic SerializableMethod(Method method, Class<?> actualClass)
method
- The method this view representsactualClass
- The class to which this method is associated,
may be a child of the class declaring the methodpublic SerializableMethod(Method method, String actualClassName)
method
- The method this view representsactualClass
- The name of the class to which this method is associated,
may be a child of the class declaring the methodMethod Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public Method toMethod()
public Method toMethod(ClassLoader cl)
cl
-
public Class<?> getClassType()
public Class<?> getClassType(ClassLoader cl)
cl
-
protected Class<?> getClassFromName(String name, ClassLoader cl)
name
- cl
-
public String getDeclaringClassName()
public void setDeclaringClassName(String className)
public String getReturnType()
public void setReturnType(String returnType)
public String[] getArgumentTypes()
public void setArgumentTypes(String[] argumentTypes)
public String getName()
public void setName(String name)
public String getActualClassName()
public void setActualClassName(String actualClassName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |