|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
BeanManager
from non-managed classes, which
are not able to take advantage of injection.
See:
Description
Interface Summary | |
---|---|
BeanManagerProvider |
BeanManagerProvider is the SPI for BeanManagerLocator which
allows third parties to register a way of obtaining the BeanManager
outside of CDI managed objects. |
Class Summary | |
---|---|
BeanManagerAware | A convenient base class for obtaining a reference to the BeanManager from a non-managed class, or a class which may not be managed in certain environments (i.e., a listener in a Servlet container). |
BeanManagerLocator |
A utility for use in non-managed classes, which are not able to obtain a
reference to the BeanManager using injection. |
Exception Summary | |
---|---|
BeanManagerUnavailableException | A runtime exception that is thrown when the attempt to resolve
the BeanManager using the BeanManagerProvider service fails
to locate the BeanManager . |
A set of utilities for looking up the BeanManager
from non-managed classes, which
are not able to take advantage of injection.
This package includes the BeanManagerProvider
SPI, which may be implemented to allow third parties to
register custom methods of looking up the BeanManager in an external context. The implementations will be consulted
according to precedence.
**WARNING** This package does not provide NOT a clever way to get the BeanManager, and should be
avoided at all costs. Are you sure @Inject
is not available? If not, and you still need a reference to
the BeanManager
, you should probably register a CDI extension instead.
If you think you need to use this package, chat to the community and make sure you aren't missing a trick!
BeanManagerLocator
,
BeanManagerProvider
,
BeanManagerAware
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |