public interface WeldModule
ServiceLoader.
This API may change and is for internal use only.| Modifier and Type | Interface and Description |
|---|---|
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 |
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 preBeanRegistration(WeldModule.PreBeanRegistrationContext ctx)
BeanDeployment separately.ctx - contextCopyright © 2015. All Rights Reserved.