JBoss Modular Service Kernel API 1.0.0.Beta6

org.jboss.msc.value
Class LookupModuleClassValue

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

Deprecated. Will be removed before 1.0.0.GA

@Deprecated
public final class LookupModuleClassValue
extends Object
implements Value<Class<?>>

A value which looks up a class by name from a module.

Author:
David M. Lloyd

Constructor Summary
LookupModuleClassValue(String className, org.jboss.modules.ModuleIdentifier moduleIdentifier, org.jboss.modules.ModuleLoader moduleLoader)
          Deprecated. Construct a new instance.
 
Method Summary
 Class<?> 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

LookupModuleClassValue

public LookupModuleClassValue(String className,
                              org.jboss.modules.ModuleIdentifier moduleIdentifier,
                              org.jboss.modules.ModuleLoader moduleLoader)
Deprecated. 
Construct a new instance.

Parameters:
className - the name of the class
moduleIdentifier - the module identifier
moduleLoader - the module loader to use
Method Detail

getValue

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

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