org.jboss.ejb3.dependency
Class EjbLinkDemandMetaData

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.ejb3.dependency.EjbLinkDemandMetaData
All Implemented Interfaces:
Serializable, Cloneable, org.jboss.beans.metadata.spi.DemandMetaData, org.jboss.beans.metadata.spi.MetaDataVisitorNode, org.jboss.util.JBossInterface

public class EjbLinkDemandMetaData
extends org.jboss.util.JBossObject
implements org.jboss.beans.metadata.spi.DemandMetaData, Serializable

Note that this one is only used for an ejb link which doesn't have a module specified.

Version:
$Revision: 72001 $
Author:
Carlo de Wolf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
EjbLinkDemandMetaData(JavaEEComponent component, String ejbName)
           
 
Method Summary
 void describeVisit(org.jboss.beans.metadata.spi.MetaDataVisitor vistor)
           
 Iterator<? extends org.jboss.beans.metadata.spi.MetaDataVisitorNode> getChildren()
           
 Object getDemand()
           
 org.jboss.dependency.spi.ControllerState getTargetState()
           
 org.jboss.dependency.spi.ControllerState getWhenRequired()
           
 void initialVisit(org.jboss.beans.metadata.spi.MetaDataVisitor visitor)
           
 void toShortString(org.jboss.util.JBossStringBuilder buffer)
           
 void toString(org.jboss.util.JBossStringBuilder buffer)
           
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, 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.beans.metadata.spi.MetaDataVisitorNode
clone
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString
 

Constructor Detail

EjbLinkDemandMetaData

public EjbLinkDemandMetaData(JavaEEComponent component,
                             String ejbName)
Parameters:
component - the component which needs the enterprise bean
ejbName - the name of the enterprise bean to find
Method Detail

getDemand

public Object getDemand()
Specified by:
getDemand in interface org.jboss.beans.metadata.spi.DemandMetaData

getTargetState

public org.jboss.dependency.spi.ControllerState getTargetState()
Specified by:
getTargetState in interface org.jboss.beans.metadata.spi.DemandMetaData

getWhenRequired

public org.jboss.dependency.spi.ControllerState getWhenRequired()
Specified by:
getWhenRequired in interface org.jboss.beans.metadata.spi.DemandMetaData

describeVisit

public void describeVisit(org.jboss.beans.metadata.spi.MetaDataVisitor vistor)
Specified by:
describeVisit in interface org.jboss.beans.metadata.spi.MetaDataVisitorNode

getChildren

public Iterator<? extends org.jboss.beans.metadata.spi.MetaDataVisitorNode> getChildren()
Specified by:
getChildren in interface org.jboss.beans.metadata.spi.MetaDataVisitorNode

initialVisit

public void initialVisit(org.jboss.beans.metadata.spi.MetaDataVisitor visitor)
Specified by:
initialVisit in interface org.jboss.beans.metadata.spi.MetaDataVisitorNode

toString

public void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.util.JBossObject

toShortString

public void toShortString(org.jboss.util.JBossStringBuilder buffer)
Specified by:
toShortString in interface org.jboss.util.JBossInterface
Overrides:
toShortString in class org.jboss.util.JBossObject


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