public interface WeldModule
ServiceLoader.
This API may change and is for internal use only.| Modifier and Type | Interface and Description |
|---|---|
static interface |
WeldModule.PostBeanArchiveServiceRegistrationContext |
static interface |
WeldModule.PostContextRegistrationContext
Context object for the
postContextRegistration phase |
static interface |
WeldModule.PostServiceRegistrationContext
Context object for the
postServiceRegistration phase |
static interface |
WeldModule.PreBeanRegistrationContext
Context object for the
preBeanRegistration phase |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the module.
|
default void |
postBeanArchiveServiceRegistration(WeldModule.PostBeanArchiveServiceRegistrationContext ctx)
This hook is called once Weld registered
Services for deployment of a particular bean archive. |
default void |
postContextRegistration(WeldModule.PostContextRegistrationContext ctx)
This hook is called once Weld registered built-in contexts.
|
default void |
postServiceRegistration(WeldModule.PostServiceRegistrationContext ctx)
This hook is called once Weld registered
Services from the deployment and added its own internal Services. |
default void |
preBeanRegistration(WeldModule.PreBeanRegistrationContext ctx)
This hook is called by Weld before it starts deploying beans.
|
String getName()
default void postServiceRegistration(WeldModule.PostServiceRegistrationContext ctx)
Services from the deployment and added its own internal Services.
A module may use this hook to discover registered per-deployment services and to register additional services.ctx - contextdefault void postContextRegistration(WeldModule.PostContextRegistrationContext ctx)
ctx - contextdefault void postBeanArchiveServiceRegistration(WeldModule.PostBeanArchiveServiceRegistrationContext ctx)
Services for deployment of a particular bean archive.
A module may use this hook to discover services for a particular archive and to register additional services.
This method is called for each bean archive that is processed.ctx - contextdefault void preBeanRegistration(WeldModule.PreBeanRegistrationContext ctx)
BeanDeployment separately.ctx - contextCopyright © 2017. All rights reserved.