@Module public class MethodSignature extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MethodSignature.MethodParams |
Constructor and Description |
---|
MethodSignature() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String typeName)
Adds a method parameter.
|
void |
addText(java.lang.String text) |
MethodSignature.MethodParams |
createMethodParams()
Adds a method parameter.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getEJBName() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isMatch(AnnotatedMethod<?> annMethod,
java.lang.String intf) |
boolean |
isMatch(java.lang.reflect.Method method,
java.lang.String intf) |
boolean |
isMatch(java.lang.String methodName,
java.lang.Class<?>[] params) |
boolean |
isMatch(java.lang.String methodName,
java.lang.Class<?>[] params,
java.lang.String intf) |
void |
setDescription(java.lang.String value) |
void |
setEJBName(java.lang.String ejbName) |
void |
setHasParams()
Sets the parameters to zero to distinguish between
methods with zero arguments and methods which don't
specify the requirements.
|
void |
setMethodIntf(java.lang.String intf)
Sets the method interface.
|
void |
setMethodName(java.lang.String name) |
void |
setName(java.lang.String methodName) |
java.lang.String |
toSignatureString() |
java.lang.String |
toString() |
public void setEJBName(java.lang.String ejbName)
public java.lang.String getEJBName()
public void setMethodName(java.lang.String name) throws ConfigException
ConfigException
public java.lang.String getName()
public void setName(java.lang.String methodName) throws ConfigException
ConfigException
public void setDescription(java.lang.String value)
public void addText(java.lang.String text) throws ConfigException
ConfigException
public void addParam(java.lang.String typeName)
public MethodSignature.MethodParams createMethodParams()
public void setHasParams()
public void setMethodIntf(java.lang.String intf)
public boolean isMatch(java.lang.reflect.Method method, java.lang.String intf)
public boolean isMatch(AnnotatedMethod<?> annMethod, java.lang.String intf)
public boolean isMatch(java.lang.String methodName, java.lang.Class<?>[] params, java.lang.String intf)
public boolean isMatch(java.lang.String methodName, java.lang.Class<?>[] params)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toSignatureString()
public java.lang.String toString()
toString
in class java.lang.Object