org.jboss.beans.metadata.spi
Interface DemandMetaData

All Superinterfaces:
Cloneable, org.jboss.util.JBossInterface, MetaDataVisitorNode
All Known Implementing Classes:
AbstractDemandMetaData

public interface DemandMetaData
extends MetaDataVisitorNode, org.jboss.util.JBossInterface

Metadata about what a bean demands.

Version:
$Revision: 84514 $
Author:
Adrian Brock, Ales Justin

Method Summary
 Object getDemand()
          What is demanded
 ControllerState getTargetState()
          Get the target state
 ControllerState getWhenRequired()
          Get when the dependency is required
 
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode
clone, describeVisit, getChildren, initialVisit
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Method Detail

getDemand

Object getDemand()
What is demanded

Returns:
the demand

getWhenRequired

ControllerState getWhenRequired()
Get when the dependency is required

Returns:
when the dependency is required

getTargetState

ControllerState getTargetState()
Get the target state

Returns:
the target state


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