|
JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.msc.value.LookupSetMethodValue
public final class LookupSetMethodValue
A value which looks up a public set method by name and parameters from a class.
| Constructor Summary | |
|---|---|
LookupSetMethodValue(Value<Class<?>> target,
String propertyName)
Construct a new instance which searches for the first name-only match. |
|
LookupSetMethodValue(Value<Class<?>> target,
String propertyName,
Value<Class<?>> propertyType)
Construct a new instance. |
|
| Method Summary | |
|---|---|
Method |
getValue()
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 LookupSetMethodValue(Value<Class<?>> target,
String propertyName,
Value<Class<?>> propertyType)
target - the class in which to look for the methodpropertyName - the name of the property (e.g. "executor" will yield a method "setExecutor")propertyType - the type of the property
public LookupSetMethodValue(Value<Class<?>> target,
String propertyName)
target - the class in which to look for the methodpropertyName - the name of the property (e.g. "executor" will yield a method "setExecutor")| 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.Beta4-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||