|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the URL, class name, scope and initial properties for a bean. All beans managed by the BeanFactory container must be defined by an implementation of this interface. This interface is exposed through the DefinitionLoader interface.
Normal use of the BeanFactory framework should not involve direct interaction with this class.
DefinitionLoader| Method Summary | |
BeanSetter |
getBeanSetter()
Obtains a BeanSetter instance for the current bean. |
java.lang.String |
getClassName()
Obtains the fully qualified class name for this definition. |
java.lang.Class |
getClazz()
Get the class definition for this bean. |
java.lang.String |
getDelimiter()
|
java.lang.String |
getName()
Obtains the URL for this definition. |
java.lang.String |
getParent()
Obtains the URL of this definition's "parent". |
java.util.Set |
getPropertyNames()
Returns a set of initialized property names. |
java.lang.String |
getPropertyValue(java.lang.String name)
Obtains the String value for a particular property. |
int |
getScopeCode()
Obtains the int code for this definition's scope. |
java.lang.String |
getScopeName()
Obtains the name of this definition's defined scope. |
boolean |
getStartup()
Boolean flag indicating whether this bean will be loaded when the BeanFactory container is initialzied. |
java.lang.String |
getURL()
Obtains the URL for this definition. |
boolean |
isScopeExplicit()
Returns true if the scope has been explicitly set. |
boolean |
isScopeJ2EE()
Returns true if the scope is: application, session, or request. |
boolean |
isValid()
Returns true if this BeanDefinition has been validated. |
| Method Detail |
public boolean isValid()
public java.util.Set getPropertyNames()
public java.lang.String getPropertyValue(java.lang.String name)
public java.lang.String getDelimiter()
public java.lang.String getName()
public java.lang.String getURL()
public int getScopeCode()
BeanContextpublic java.lang.String getScopeName()
BeanContextpublic java.lang.String getClassName()
public java.lang.Class getClazz()
throws java.lang.ClassNotFoundException
public BeanSetter getBeanSetter()
throws java.lang.ClassNotFoundException,
BeanFactoryException
public boolean isScopeExplicit()
public java.lang.String getParent()
public boolean getStartup()
public boolean isScopeJ2EE()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||