public class ManagerImpl extends Object implements Manager
Modifier and Type | Method and Description |
---|---|
<T> void |
bind(Class<? extends Annotation> scope,
Class<T> type,
T instance) |
<T> void |
bindAndFire(Class<? extends Annotation> scope,
Class<T> type,
T instance) |
<T> T |
executeInApplicationContext(Callable<T> callable) |
void |
fire(Object event) |
<T> void |
fire(T event,
NonManagedObserver<T> nonManagedObserver) |
void |
fireProcessing() |
<T> T |
getContext(Class<T> type) |
List<Context> |
getContexts() |
<T> T |
getExtension(Class<T> type) |
void |
inject(Object obj) |
<T> T |
resolve(Class<T> type) |
void |
shutdown() |
void |
start() |
public <T> void fire(T event, NonManagedObserver<T> nonManagedObserver)
public <T> void bind(Class<? extends Annotation> scope, Class<T> type, T instance)
public <T> T getContext(Class<T> type)
getContext
in interface Manager
public <T> T executeInApplicationContext(Callable<T> callable) throws Exception
Exception
public <T> void bindAndFire(Class<? extends Annotation> scope, Class<T> type, T instance)
T
- scope
- type
- instance
- public <T> T getExtension(Class<T> type)
Copyright © 2018 JBoss by Red Hat. All rights reserved.