|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aurorasoftworks.signal.runtime.core.context.proxy.AbstractMethodHandler
public abstract class AbstractMethodHandler
A base class for implementations of IMethodHandler
Constructor Summary | |
---|---|
protected |
AbstractMethodHandler(java.lang.String methodName)
Creates a new AbstractMethodHandler object for a method that does not accept arguments. |
protected |
AbstractMethodHandler(java.lang.String methodName,
java.lang.Class argumentType)
Creates a new AbstractMethodHandler object for a method that accepts a single argument. |
protected |
AbstractMethodHandler(java.lang.String methodName,
java.lang.Class[] argumentTypes)
Creates a new AbstractMethodHandler object. |
Method Summary | |
---|---|
java.lang.Class[] |
getArgumentTypes()
Returns the types of arguments this methods accepts. |
java.lang.String |
getMethodName()
Returns the name of this method object |
boolean |
matchesArgumentTypes(java.lang.Class[] types)
Determines if the signature of this method object matches the provided sequence of types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aurorasoftworks.signal.runtime.core.context.proxy.IMethodHandler |
---|
invoke |
Constructor Detail |
---|
protected AbstractMethodHandler(java.lang.String methodName, java.lang.Class[] argumentTypes)
methodName
- name of the method this objects representsargumentTypes
- types of arguments of the method
this object representsprotected AbstractMethodHandler(java.lang.String methodName, java.lang.Class argumentType)
methodName
- name of the method this objects representsargumentType
- type of the single argument of the method
this object representsprotected AbstractMethodHandler(java.lang.String methodName)
methodName
- name of the method this objects representsMethod Detail |
---|
public boolean matchesArgumentTypes(java.lang.Class[] types)
matchesArgumentTypes
in interface IMethodHandler
types
- a sequence of types to compare the signature
of this method object to
public java.lang.String getMethodName()
getMethodName
in interface IMethodHandler
public java.lang.Class[] getArgumentTypes()
getArgumentTypes
in interface IMethodHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |