org.jboss.beans.metadata.spi
Interface BeanMetaData

All Superinterfaces:
Cloneable, FeatureMetaData, org.jboss.util.JBossInterface, MetaDataVisitorNode
All Known Implementing Classes:
AbstractBeanMetaData, GenericBeanFactoryMetaData

public interface BeanMetaData
extends FeatureMetaData

Metadata about a bean.

Version:
$Revision: 1.13 $
Author:
Adrian Brock

Method Summary
 String getBean()
          Get the bean.
 ClassLoaderMetaData getClassLoader()
          Get the bean ClassLoader
 ConstructorMetaData getConstructor()
          Get the constructor
 LifecycleMetaData getCreate()
          Get the create lifecycle
 Set getDemands()
          Get what this bean demands.
 LifecycleMetaData getDestroy()
          Get the destroy lifecycle
 ControllerMode getMode()
          Get the mode
 String getName()
          Get the name
 Set getProperties()
          Get the properties.
 LifecycleMetaData getStart()
          Get the start lifecycle
 LifecycleMetaData getStop()
          Get the stop lifecycle
 Set getSupplies()
          Get what this bean supplies.
 void setClassLoader(ClassLoaderMetaData classLoader)
          Set the bean ClassLoader
 void setMode(ControllerMode mode)
          Set the name
 void setName(String name)
          Set the name
 
Methods inherited from interface org.jboss.beans.metadata.spi.FeatureMetaData
getAnnotations, getDescription
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 
Methods inherited from interface org.jboss.beans.metadata.spi.MetaDataVisitorNode
getChildren, visit
 

Method Detail

getBean

String getBean()
Get the bean.

Returns:
the bean.

getName

String getName()
Get the name

Returns:
the name

setName

void setName(String name)
Set the name

Parameters:
name - the name

getMode

ControllerMode getMode()
Get the mode

Returns:
the mode

setMode

void setMode(ControllerMode mode)
Set the name

Parameters:
mode - the mode

getProperties

Set getProperties()
Get the properties.

Returns:
List.

getClassLoader

ClassLoaderMetaData getClassLoader()
Get the bean ClassLoader

Returns:
the ClassLoader metadata

setClassLoader

void setClassLoader(ClassLoaderMetaData classLoader)
Set the bean ClassLoader

Parameters:
classLoader - the ClassLoader metadata

getConstructor

ConstructorMetaData getConstructor()
Get the constructor

Returns:
the constructor metadata

getCreate

LifecycleMetaData getCreate()
Get the create lifecycle

Returns:
the create lifecycle

getStart

LifecycleMetaData getStart()
Get the start lifecycle

Returns:
the start lifecycle

getStop

LifecycleMetaData getStop()
Get the stop lifecycle

Returns:
the stop lifecycle

getDestroy

LifecycleMetaData getDestroy()
Get the destroy lifecycle

Returns:
the destroy lifecycle

getDemands

Set getDemands()
Get what this bean demands.

Returns:
Set

getSupplies

Set getSupplies()
Get what this bean supplies.

Returns:
Set


Copyright © 2004 JBoss Inc. All Rights Reserved.