|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mentabean.BeanManager
public class BeanManager
The manager that keeps track of the configuration for all beans.
Constructor Summary | |
---|---|
BeanManager()
|
Method Summary | |
---|---|
void |
addBeanConfig(BeanConfig bc)
Add a bean configuration. |
BeanConfig |
bean(BeanConfig bc)
Add a bean configuration. |
BeanConfig |
bean(Class<? extends Object> beanClass,
String tableName)
Creates a bean configuration and add to this manager. |
BeanConfig |
getBeanConfig(Class<? extends Object> beanClass)
Get the bean configuration for the given bean class. |
Set<BeanConfig> |
getBeanConfigs()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanManager()
Method Detail |
---|
public BeanConfig bean(BeanConfig bc)
bc
- The bean configuration to add.
public void addBeanConfig(BeanConfig bc)
bc
- The bean configuration to add.public BeanConfig bean(Class<? extends Object> beanClass, String tableName)
beanClass
- The bean classtableName
- The table name where the bean properties will be stored.
public BeanConfig getBeanConfig(Class<? extends Object> beanClass)
beanClass
- The bean class
public Set<BeanConfig> getBeanConfigs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |