org.apache.openejb.config
Class EjbModule

java.lang.Object
  extended by org.apache.openejb.config.Module
      extended by org.apache.openejb.config.EjbModule
All Implemented Interfaces:
DeploymentModule, WsModule

public class EjbModule
extends Module
implements WsModule

Class is to remain "dumb" and should not have deployment logic added to it. Class is intentionally not an interface as that would encourage "smart" implementations

Version:
$Revision$ $Date$

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.openejb.config.DeploymentModule
DeploymentModule.ID
 
Field Summary
 
Fields inherited from interface org.apache.openejb.config.DeploymentModule
OPENEJB_MODULENAME_USE_HASH
 
Constructor Summary
EjbModule(ClassLoader classLoader, String jarURI, EjbJar ejbJar, OpenejbJar openejbJar)
           
EjbModule(ClassLoader classLoader, String moduleId, String jarURI, EjbJar ejbJar, OpenejbJar openejbJar)
           
EjbModule(EjbJar ejbJar)
           
EjbModule(EjbJar ejbJar, OpenejbJar openejbJar)
           
 
Method Summary
 AppModule appModule()
           
 EjbModule finder(org.apache.xbean.finder.IAnnotationFinder finder)
           
 Beans getBeans()
           
 ClientModule getClientModule()
           
 EjbJar getEjbJar()
           
 File getFile()
           
 org.apache.xbean.finder.IAnnotationFinder getFinder()
           
 String getJarLocation()
           
 String getModuleId()
           
 URI getModuleUri()
           
 OpenejbJar getOpenejbJar()
           
 ValidationContext getValidation()
           
 Set<String> getWatchedResources()
           
 Webservices getWebservices()
           
 boolean isWebapp()
           
 void setBeans(Beans beans)
           
 void setClientModule(ClientModule clientModule)
           
 void setEjbJar(EjbJar ejbJar)
           
 void setFinder(org.apache.xbean.finder.IAnnotationFinder finder)
           
 void setJarLocation(String jarLocation)
           
 void setModuleId(String moduleId)
           
 void setModuleUri(URI moduleUri)
           
 void setOpenejbJar(OpenejbJar openejbJar)
           
 void setWebapp(boolean webapp)
           
 void setWebservices(Webservices webservices)
           
 String toString()
           
 EjbModule withCdi()
           
 
Methods inherited from class org.apache.openejb.config.Module
getAltDDs, getAppModule, getClassLoader, getMbeans, getProperties, getUniqueId, getValidationConfig, initAppModule, initResources, isStandaloneModule, setClassLoader, setStandaloneModule, setValidationConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.openejb.config.DeploymentModule
getAltDDs, getClassLoader, getProperties, isStandaloneModule, setStandaloneModule
 

Constructor Detail

EjbModule

public EjbModule(EjbJar ejbJar)

EjbModule

public EjbModule(EjbJar ejbJar,
                 OpenejbJar openejbJar)

EjbModule

public EjbModule(ClassLoader classLoader,
                 String moduleId,
                 String jarURI,
                 EjbJar ejbJar,
                 OpenejbJar openejbJar)

EjbModule

public EjbModule(ClassLoader classLoader,
                 String jarURI,
                 EjbJar ejbJar,
                 OpenejbJar openejbJar)
Method Detail

getBeans

public Beans getBeans()

setBeans

public void setBeans(Beans beans)

getFinder

public org.apache.xbean.finder.IAnnotationFinder getFinder()

setFinder

public void setFinder(org.apache.xbean.finder.IAnnotationFinder finder)

finder

public EjbModule finder(org.apache.xbean.finder.IAnnotationFinder finder)

getClientModule

public ClientModule getClientModule()

setClientModule

public void setClientModule(ClientModule clientModule)

getValidation

public ValidationContext getValidation()
Specified by:
getValidation in interface DeploymentModule

getEjbJar

public EjbJar getEjbJar()

setEjbJar

public void setEjbJar(EjbJar ejbJar)

getJarLocation

public String getJarLocation()
Specified by:
getJarLocation in interface DeploymentModule

setJarLocation

public void setJarLocation(String jarLocation)

getModuleId

public String getModuleId()
Specified by:
getModuleId in interface DeploymentModule

getFile

public File getFile()
Specified by:
getFile in interface DeploymentModule

setModuleId

public void setModuleId(String moduleId)

getModuleUri

public URI getModuleUri()
Specified by:
getModuleUri in interface DeploymentModule

setModuleUri

public void setModuleUri(URI moduleUri)

getOpenejbJar

public OpenejbJar getOpenejbJar()

setOpenejbJar

public void setOpenejbJar(OpenejbJar openejbJar)

getWebservices

public Webservices getWebservices()
Specified by:
getWebservices in interface WsModule

setWebservices

public void setWebservices(Webservices webservices)
Specified by:
setWebservices in interface WsModule

getWatchedResources

public Set<String> getWatchedResources()
Specified by:
getWatchedResources in interface DeploymentModule

isWebapp

public boolean isWebapp()

setWebapp

public void setWebapp(boolean webapp)

withCdi

public EjbModule withCdi()

toString

public String toString()
Overrides:
toString in class Object

appModule

public AppModule appModule()
Specified by:
appModule in interface DeploymentModule


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.