public final class EJBMethodLocator extends Object implements Serializable
Constructor and Description |
---|
EJBMethodLocator(String methodName,
String... parameterTypeNames)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EJBMethodLocator other)
Determine whether this object is equal to another.
|
boolean |
equals(Object other)
Determine whether this object is equal to another.
|
static EJBMethodLocator |
forMethod(Method method)
Get a method locator for the given reflection method.
|
String |
getMethodName()
Get the method name.
|
int |
getParameterCount()
Get the parameter count.
|
String |
getParameterTypeName(int index)
Get the name of the parameter at the given index.
|
int |
hashCode()
Get the hash code.
|
public static EJBMethodLocator forMethod(Method method)
method
- the reflection method (must not be null
)null
)public String getMethodName()
null
)public int getParameterCount()
public String getParameterTypeName(int index)
public boolean equals(Object other)
public boolean equals(EJBMethodLocator other)
other
- the other objecttrue
if they are equal, false
otherwiseCopyright © 2017 JBoss by Red Hat. All rights reserved.