org.jboss.kernel.plugins.annotations.wb
Class WBInjectionValueMetaData

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.beans.metadata.plugins.AbstractValueMetaData
          extended by org.jboss.kernel.plugins.annotations.wb.WBInjectionValueMetaData
All Implemented Interfaces:
Serializable, Cloneable, TypeProvider, MetaDataVisitorNode, ValueMetaData, org.jboss.util.JBossInterface

public class WBInjectionValueMetaData
extends AbstractValueMetaData

Web beans injection metadata value.

Author:
Ales Justin
See Also:
Serialized Form

Field Summary
protected  KernelControllerContext context
          The context
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider
ERROR_MSG
 
Constructor Summary
WBInjectionValueMetaData(Class<?> type, Annotation[] annotations)
           
 
Method Summary
 Object getValue(org.jboss.reflect.spi.TypeInfo info, ClassLoader cl)
          Get the value.
 void initialVisit(MetaDataVisitor visitor)
          Visit the node
 
Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData
clone, describeVisit, getChildren, getType, getUnderlyingValue, getValue, isUseJMXObjectNameFix, setValue, toShortString, toString
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.util.JBossInterface
toShortString
 

Field Detail

context

protected transient KernelControllerContext context
The context

Constructor Detail

WBInjectionValueMetaData

public WBInjectionValueMetaData(Class<?> type,
                                Annotation[] annotations)
Method Detail

initialVisit

public void initialVisit(MetaDataVisitor visitor)
Description copied from interface: MetaDataVisitorNode
Visit the node

Specified by:
initialVisit in interface MetaDataVisitorNode
Overrides:
initialVisit in class AbstractValueMetaData
Parameters:
visitor - the visitor

getValue

public Object getValue(org.jboss.reflect.spi.TypeInfo info,
                       ClassLoader cl)
                throws Throwable
Description copied from interface: ValueMetaData
Get the value.

Specified by:
getValue in interface ValueMetaData
Overrides:
getValue in class AbstractValueMetaData
Parameters:
info - the type info
cl - the classloader
Returns:
the value.
Throws:
Throwable - for any error


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