|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jodd.bean.BeanLoaderManager
public class BeanLoaderManager
Manager for BeanLoader
instances that populates java beans from various sources.
Constructor Summary | |
---|---|
BeanLoaderManager()
|
Method Summary | |
---|---|
static BeanLoader |
lookup(java.lang.Class type)
Returns loader for the specific object type. |
static BeanLoader |
lookup(java.lang.Object source)
Performs more throughly search for bean loader. |
static void |
register(java.lang.Class type,
BeanLoader load)
Registers loader for an objects of specific type. |
static void |
registerDefaults()
Registers default set of loaders. |
static void |
unregister(java.lang.Class type)
|
static void |
unregisterAll()
Unregister all loaders. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanLoaderManager()
Method Detail |
---|
public static void unregisterAll()
public static void registerDefaults()
Important note: class that doesn't come with JDK is first being examined
for existence. Examination is done with Class.forName()
If class exists, it will be registered. If not, it will be skipped.
register(java.lang.Class, jodd.bean.loader.BeanLoader)
public static void register(java.lang.Class type, BeanLoader load)
type
- type of object that will be used by loader to populate bean.load
- loader object that populates a bean.registerDefaults()
public static void unregister(java.lang.Class type)
public static BeanLoader lookup(java.lang.Class type)
type
- type of object that will be used by loader to populate bean.
null
if no loader found.public static BeanLoader lookup(java.lang.Object source)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |