org.glassfish.ejb.startup
Class EjbDeployer

java.lang.Object
  extended by org.glassfish.javaee.core.deployment.JavaEEDeployer<EjbContainerStarter,EjbApplication>
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.api.event.EventListener
EventListener.Event<T>
 
Field Summary
protected  Domain domain
           
protected  EJBSecurityManagerFactory ejbSecManagerFactory
           
protected  ServerEnvironmentImpl env
           
protected  PolicyLoader policyLoader
           
protected  ServerContext sc
           
 
Fields inherited from class org.glassfish.javaee.core.deployment.JavaEEDeployer
appRegistry, habitat, undeploymentVisitor
 
Constructor Summary
EjbDeployer()
          Constructor
 
Method Summary
 void clean(DeploymentContext dc)
          Clean any files and artifacts that were created during the execution of the prepare method.
 void event(EventListener.Event event)
           
protected  void generateArtifacts(DeploymentContext dc)
          Use this method to generate any ejb-related artifacts for the module
 MetaData getMetaData()
           
protected  java.lang.String getModuleType()
           
 EjbApplication load(EjbContainerStarter containerStarter, DeploymentContext dc)
           
 void postConstruct()
           
 boolean prepare(DeploymentContext dc)
           
 void unload(EjbApplication ejbApplication, DeploymentContext dc)
           
 
Methods inherited from class org.glassfish.javaee.core.deployment.JavaEEDeployer
getApplicationFromApplicationInfo, getCommonClassPath, getModuleClassPath, getObjectType, loadMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sc

protected ServerContext sc

domain

protected Domain domain

env

protected ServerEnvironmentImpl env

policyLoader

protected PolicyLoader policyLoader

ejbSecManagerFactory

protected EJBSecurityManagerFactory ejbSecManagerFactory
Constructor Detail

EjbDeployer

public EjbDeployer()
Constructor

Method Detail

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct

getModuleType

protected java.lang.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.