public interface Container
Modifier and Type | Interface and Description |
---|---|
static interface |
Container.InheritedListener
Inherited Listener.
|
static interface |
Container.Listener
A listener for Container events.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addBean(Object o) |
<T> T |
getBean(Class<T> clazz) |
Collection<Object> |
getBeans() |
<T> Collection<T> |
getBeans(Class<T> clazz) |
boolean |
removeBean(Object o)
Removes the given bean.
|
boolean addBean(Object o)
Collection<Object> getBeans()
getBean(Class)
<T> Collection<T> getBeans(Class<T> clazz)
clazz
- the class of the beansgetBeans()
<T> T getBean(Class<T> clazz)
clazz
- the class of the beanboolean removeBean(Object o)
#removeBeans()
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.