|
JBoss Modular Service Kernel API 1.0.0.Beta6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.msc.value.LookupDeclaredMethodValue
@Deprecated public final class LookupDeclaredMethodValue
A value which looks up a possibly non-public method by name and parameters from a class. This may be considerably slower than
LookupMethodValue
so that class should be used whenever possible.
Constructor Summary | |
---|---|
LookupDeclaredMethodValue(Value<Class<?>> target,
String methodName,
int paramCount,
AccessControlContext context,
boolean makeAccessible)
Deprecated. |
|
LookupDeclaredMethodValue(Value<Class<?>> target,
String methodName,
List<? extends Value<Class<?>>> parameterTypes,
AccessControlContext context,
boolean makeAccessible)
Deprecated. Construct a new instance. |
Method Summary | |
---|---|
Method |
getValue()
Deprecated. Get the actual value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupDeclaredMethodValue(Value<Class<?>> target, String methodName, List<? extends Value<Class<?>>> parameterTypes, AccessControlContext context, boolean makeAccessible)
target
- the class in which to look for the methodmethodName
- the name of the methodparameterTypes
- the method parameter typescontext
- the access control context to usemakeAccessible
- true
to make the method accessible under the provided access control contextpublic LookupDeclaredMethodValue(Value<Class<?>> target, String methodName, int paramCount, AccessControlContext context, boolean makeAccessible)
Method Detail |
---|
public Method getValue() throws IllegalStateException
getValue
in interface Value<Method>
IllegalStateException
- if the value is time-sensitive and the current state does not allow retrieval.
|
JBoss Modular Service Kernel API 1.0.0.Beta6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |