|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xml.utils.synthetic.reflection.EntryPoint | +--weblogic.apache.xml.utils.synthetic.reflection.Method
A Method provides information about, and access to, a single method on a class or interface. The reflected method may be a class method or an instance method (including an abstract method).
A Method permits widening conversions to occur when matching the actual parameters to invokewith the underlying method's formal parameters, but it throws an IllegalArgumentException if a narrowing conversion would occur.
Need to add method body, a la Matt's codebuffer. That may or may not imply retaining the final return value separately and passing in a how-to-use-it mechanism...?
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xml.utils.synthetic.reflection.EntryPoint |
name,
realep,
returntype |
Constructor Summary | |
Method(java.lang.reflect.Method realmethod)
Insert the method's description here. |
|
Method(java.lang.reflect.Method ctor,
Class declaringclass)
Insert the method's description here. |
|
Method(java.lang.String name,
Class declaringclass)
Insert the method's description here. |
Method Summary | |
int |
hashCode()
Returns a hashcode for this Constructor. |
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.Object[] args)
Invokes the underlying method represented by this Method object, on the specified object with the specified parameters. |
void |
setReturnType(Class returntype)
Method setReturnType |
Methods inherited from class weblogic.apache.xml.utils.synthetic.reflection.EntryPoint |
addExceptionType,
addParameter,
equals,
getBody,
getDeclaringClass,
getExceptionTypes,
getLanguage,
getModifiers,
getName,
getParameterNames,
getParameterTypes,
getReturnType,
setBody,
setDeclaringClass,
setModifiers,
setName,
toSource,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Method(java.lang.String name, Class declaringclass)
Creation date: (12-27-99 2:31:39 PM)
realConstructor
- java.lang.reflect.Constructorname
- declaringclass
- public Method(java.lang.reflect.Method ctor, Class declaringclass)
Creation date: (12-27-99 2:31:39 PM)
realConstructor
- java.lang.reflect.Constructorctor
- declaringclass
- public Method(java.lang.reflect.Method realmethod)
Creation date: (12-27-99 2:31:39 PM)
realConstructor
- java.lang.reflect.Constructorrealmethod
- Method Detail |
public int hashCode()
public java.lang.Object invoke(java.lang.Object obj, java.lang.Object[] args) throws java.lang.IllegalAccessException, java.lang.IllegalArgumentException, java.lang.reflect.InvocationTargetException
obj
- args
- public void setReturnType(Class returntype) throws SynthesisException
returntype
-
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |