JBoss Modular Service Kernel API 1.0.0.Beta6

org.jboss.msc.value
Class LookupSetMethodValue

java.lang.Object
  extended by org.jboss.msc.value.LookupSetMethodValue
All Implemented Interfaces:
Value<Method>

Deprecated. Will be removed before 1.0.0.GA

@Deprecated
public final class LookupSetMethodValue
extends Object
implements Value<Method>

A value which looks up a public set method by name and parameters from a class.

Author:
David M. Lloyd

Constructor Summary
LookupSetMethodValue(Value<Class<?>> target, String propertyName)
          Deprecated. Construct a new instance which searches for the first name-only match.
LookupSetMethodValue(Value<Class<?>> target, String propertyName, Value<Class<?>> propertyType)
          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

LookupSetMethodValue

public LookupSetMethodValue(Value<Class<?>> target,
                            String propertyName,
                            Value<Class<?>> propertyType)
Deprecated. 
Construct a new instance.

Parameters:
target - the class in which to look for the method
propertyName - the name of the property (e.g. "executor" will yield a method "setExecutor")
propertyType - the type of the property

LookupSetMethodValue

public LookupSetMethodValue(Value<Class<?>> target,
                            String propertyName)
Deprecated. 
Construct a new instance which searches for the first name-only match.

Parameters:
target - the class in which to look for the method
propertyName - the name of the property (e.g. "executor" will yield a method "setExecutor")
Method Detail

getValue

public Method getValue()
                throws IllegalStateException
Deprecated. 
Get the actual value.

Specified by:
getValue in interface Value<Method>
Returns:
the actual value
Throws:
IllegalStateException - if the value is time-sensitive and the current state does not allow retrieval.

JBoss Modular Service Kernel API 1.0.0.Beta6

Copyright © 2011 JBoss, a division of Red Hat, Inc.