public class WeldEjbModule extends Object implements WeldModule
WeldModule.PostBeanArchiveServiceRegistrationContext, WeldModule.PostContextRegistrationContext, WeldModule.PostServiceRegistrationContext, WeldModule.PreBeanRegistrationContext| Constructor and Description |
|---|
WeldEjbModule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The name of the module.
|
void |
postBeanArchiveServiceRegistration(WeldModule.PostBeanArchiveServiceRegistrationContext ctx)
This hook is called once Weld registered
Services for deployment of a particular bean archive. |
void |
postContextRegistration(WeldModule.PostContextRegistrationContext ctx)
This hook is called once Weld registered built-in contexts.
|
void |
postServiceRegistration(WeldModule.PostServiceRegistrationContext ctx)
This hook is called once Weld registered
Services from the deployment and added its own internal Services. |
void |
preBeanRegistration(WeldModule.PreBeanRegistrationContext ctx)
This hook is called by Weld before it starts deploying beans.
|
public String getName()
WeldModulegetName in interface WeldModulepublic void postServiceRegistration(WeldModule.PostServiceRegistrationContext ctx)
WeldModuleServices 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.postServiceRegistration in interface WeldModulectx - contextpublic void postContextRegistration(WeldModule.PostContextRegistrationContext ctx)
WeldModulepostContextRegistration in interface WeldModulectx - contextpublic void postBeanArchiveServiceRegistration(WeldModule.PostBeanArchiveServiceRegistrationContext ctx)
WeldModuleServices 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.postBeanArchiveServiceRegistration in interface WeldModulectx - contextpublic void preBeanRegistration(WeldModule.PreBeanRegistrationContext ctx)
WeldModuleBeanDeployment separately.preBeanRegistration in interface WeldModulectx - contextCopyright © 2015. All Rights Reserved.