JBoss Modular Service Kernel API 1.0.0.Beta6

org.jboss.msc.value
Class LookupConstructorValue

java.lang.Object
  extended by org.jboss.msc.value.LookupConstructorValue
All Implemented Interfaces:
Value<Constructor<?>>

Deprecated. Will be removed before 1.0.0.GA

@Deprecated
public final class LookupConstructorValue
extends Object
implements Value<Constructor<?>>

A value which looks up a public constructor by name from a class.

Author:
David M. Lloyd

Constructor Summary
LookupConstructorValue(Value<Class<?>> target, List<? extends Value<Class<?>>> parameterTypes)
          Deprecated. Construct a new instance.
 
Method Summary
 Constructor<?> 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

LookupConstructorValue

public LookupConstructorValue(Value<Class<?>> target,
                              List<? extends Value<Class<?>>> parameterTypes)
Deprecated. 
Construct a new instance.

Parameters:
target - the class in which to look for the constructor
parameterTypes - the parameter types of the constructor
Method Detail

getValue

public Constructor<?> getValue()
                        throws IllegalStateException
Deprecated. 
Get the actual value.

Specified by:
getValue in interface Value<Constructor<?>>
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.