|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.plugins.weld.util.NonContextual.Instance
public static class NonContextual.Instance
Represents a non-contextual instance
| Field Summary | |
|---|---|
private CreationalContext |
ctx
|
private boolean |
disposed
|
private InjectionTarget |
injectionTarget
|
private Object |
instance
|
| Constructor Summary | |
private NonContextual.Instance(BeanManager beanManager, InjectionTarget injectionTarget)
|
|
private NonContextual.Instance(BeanManager beanManager, InjectionTarget injectionTarget, Object instance)
|
|
| Method Summary | |
|---|---|
Instance
|
dispose()
Dispose of the instance, doing any necessary cleanup |
Object
|
get()
Get the instance |
Instance
|
inject()
Inject the instance |
Instance
|
postConstruct()
Call the @PostConstruct callback |
Instance
|
preDestroy()
Call the @PreDestroy callback |
Instance
|
produce()
Create the instance |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private final CreationalContext ctx
private boolean disposed
private final InjectionTarget injectionTarget
private Object instance
| Constructor Detail |
|---|
private NonContextual.Instance(BeanManager beanManager, InjectionTarget injectionTarget)
private NonContextual.Instance(BeanManager beanManager, InjectionTarget injectionTarget, Object instance)
| Method Detail |
|---|
public Instance dispose()
public Object get()
public Instance inject()
public Instance postConstruct()
public Instance preDestroy()
public Instance produce()
Groovy Documentation