T - the declaring typepublic class Bean<T> extends Object
| Constructor and Description |
|---|
Bean(BeanManager beanManager,
String name,
Class<T> beanClass,
Set<Type> types,
Set<Class<? extends Annotation>> stereotypes)
Constructs a Latke bean.
|
| Modifier and Type | Method and Description |
|---|---|
T |
create() |
void |
destroy(T instance) |
Class<?> |
getBeanClass() |
String |
getName() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
String |
toString() |
public Bean(BeanManager beanManager, String name, Class<T> beanClass, Set<Type> types, Set<Class<? extends Annotation>> stereotypes)
beanManager - the specified bean managername - the specified bean namebeanClass - the specified bean classtypes - the specified bean typesstereotypes - the specified stereo typesCopyright © 2009–2019 B3log. All rights reserved.