|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--gnu.beanfactory.Container
Container is the preferred API to access to the BeanContext container.
| Method Summary | |
static BeanContext |
getBeanContext()
This is the preferred method that application developers should use to obtain a reference to the singleton BeanContext. |
static java.lang.Object |
lookup(java.lang.String url)
Looks up a bean by its URL. |
static java.lang.Object |
resolve(java.lang.String url)
Resolves a bean or bean property by its URL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static BeanContext getBeanContext()
public static java.lang.Object lookup(java.lang.String url)
throws BeanFactoryException
url - the bean URL to look up (Example: bean:/my/Bean)
public static java.lang.Object resolve(java.lang.String url)
throws BeanFactoryException
url - the bean URL to resolve (Example: bean:/my/Bean.myProperty)NestedNullPointerException - if nested property causes an indirect null pointer exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||