org.glassfish.ejb.startup
Class EjbDeployer
java.lang.Object
org.glassfish.javaee.core.deployment.JavaEEDeployer<EjbContainerStarter,EjbApplication>
org.glassfish.ejb.startup.EjbDeployer
- All Implemented Interfaces:
- Deployer<EjbContainerStarter,EjbApplication>, EventListener, org.jvnet.hk2.component.PostConstruct
@Service
public class EjbDeployer
- extends JavaEEDeployer<EjbContainerStarter,EjbApplication>
- implements org.jvnet.hk2.component.PostConstruct, EventListener
Ejb module deployer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sc
protected ServerContext sc
domain
protected Domain domain
env
protected ServerEnvironmentImpl env
policyLoader
protected PolicyLoader policyLoader
ejbSecManagerFactory
protected EJBSecurityManagerFactory ejbSecManagerFactory
EjbDeployer
public EjbDeployer()
- Constructor
postConstruct
public void postConstruct()
- Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct
getModuleType
protected String getModuleType()
- Specified by:
getModuleType in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
getMetaData
public MetaData getMetaData()
- Specified by:
getMetaData in interface Deployer<EjbContainerStarter,EjbApplication>- Overrides:
getMetaData in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
prepare
public boolean prepare(DeploymentContext dc)
- Specified by:
prepare in interface Deployer<EjbContainerStarter,EjbApplication>- Overrides:
prepare in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
load
public EjbApplication load(EjbContainerStarter containerStarter,
DeploymentContext dc)
- Specified by:
load in interface Deployer<EjbContainerStarter,EjbApplication>- Overrides:
load in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
unload
public void unload(EjbApplication ejbApplication,
DeploymentContext dc)
- Specified by:
unload in interface Deployer<EjbContainerStarter,EjbApplication>
clean
public void clean(DeploymentContext dc)
- Clean any files and artifacts that were created during the execution
of the prepare method.
- Specified by:
clean in interface Deployer<EjbContainerStarter,EjbApplication>- Overrides:
clean in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
- Parameters:
dc - deployment context
generateArtifacts
protected void generateArtifacts(DeploymentContext dc)
throws DeploymentException
- Use this method to generate any ejb-related artifacts for the module
- Overrides:
generateArtifacts in class JavaEEDeployer<EjbContainerStarter,EjbApplication>
- Throws:
DeploymentException
event
public void event(EventListener.Event event)
- Specified by:
event in interface EventListener
Copyright © 2012 GlassFish Community. All Rights Reserved.