org.apache.openejb.jee
Class EjbJar

java.lang.Object
  extended by org.apache.openejb.jee.EjbJar

public class EjbJar
extends Object

The ejb-jarType defines the root element of the EJB deployment descriptor. It contains

- an optional description of the ejb-jar file - an optional display name - an optional icon that contains a small and a large icon file name - structural information about all included enterprise beans that is not specified through annotations - structural information about interceptor classes - a descriptor for container managed relationships, if any. - an optional application-assembly descriptor - an optional name of an ejb-client-jar file for the ejb-jar.


Field Summary
protected  AssemblyDescriptor assemblyDescriptor
           
protected  TextMap description
           
protected  TextMap displayName
           
protected  String ejbClientJar
           
protected  Map<String,EnterpriseBean> enterpriseBeans
           
protected  LocalCollection<Icon> icon
           
protected  String id
           
protected  Boolean metadataComplete
           
protected  Relationships relationships
           
protected  String version
           
 
Constructor Summary
EjbJar()
           
EjbJar(String id)
           
 
Method Summary
<T extends EnterpriseBean>
T
addEnterpriseBean(T bean)
           
 Interceptor addInterceptor(Interceptor interceptor)
           
 AssemblyDescriptor getAssemblyDescriptor()
           
 String getDescription()
           
 Text[] getDescriptions()
           
 String getDisplayName()
           
 Text[] getDisplayNames()
           
 String getEjbClientJar()
           
 EnterpriseBean getEnterpriseBean(String ejbName)
           
 EnterpriseBean[] getEnterpriseBeans()
           
 Map<String,EnterpriseBean> getEnterpriseBeansByEjbName()
           
 Icon getIcon()
           
 Map<String,Icon> getIconMap()
           
 Collection<Icon> getIcons()
           
 String getId()
           
 Interceptor getInterceptor(String className)
           
 Interceptor[] getInterceptors()
           
 Relationships getRelationships()
           
 String getVersion()
           
 Boolean isMetadataComplete()
           
 EnterpriseBean removeEnterpriseBean(String name)
           
 void setAssemblyDescriptor(AssemblyDescriptor value)
           
 void setDescriptions(Text[] text)
           
 void setDisplayNames(Text[] text)
           
 void setEjbClientJar(String value)
           
 void setEnterpriseBeans(EnterpriseBean[] v)
           
 void setId(String value)
           
 void setMetadataComplete(Boolean value)
           
 void setRelationships(Relationships value)
           
 void setVersion(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected TextMap description

displayName

protected TextMap displayName

icon

protected LocalCollection<Icon> icon

enterpriseBeans

protected Map<String,EnterpriseBean> enterpriseBeans

relationships

protected Relationships relationships

assemblyDescriptor

protected AssemblyDescriptor assemblyDescriptor

ejbClientJar

protected String ejbClientJar

id

protected String id

metadataComplete

protected Boolean metadataComplete

version

protected String version
Constructor Detail

EjbJar

public EjbJar()

EjbJar

public EjbJar(String id)
Method Detail

getDescriptions

public Text[] getDescriptions()

setDescriptions

public void setDescriptions(Text[] text)

getDescription

public String getDescription()

getDisplayNames

public Text[] getDisplayNames()

setDisplayNames

public void setDisplayNames(Text[] text)

getDisplayName

public String getDisplayName()

getIcons

public Collection<Icon> getIcons()

getIconMap

public Map<String,Icon> getIconMap()

getIcon

public Icon getIcon()

getEnterpriseBeans

public EnterpriseBean[] getEnterpriseBeans()

setEnterpriseBeans

public void setEnterpriseBeans(EnterpriseBean[] v)

addEnterpriseBean

public <T extends EnterpriseBean> T addEnterpriseBean(T bean)

removeEnterpriseBean

public EnterpriseBean removeEnterpriseBean(String name)

getEnterpriseBean

public EnterpriseBean getEnterpriseBean(String ejbName)

getEnterpriseBeansByEjbName

public Map<String,EnterpriseBean> getEnterpriseBeansByEjbName()

getInterceptors

public Interceptor[] getInterceptors()

addInterceptor

public Interceptor addInterceptor(Interceptor interceptor)

getInterceptor

public Interceptor getInterceptor(String className)

getRelationships

public Relationships getRelationships()

setRelationships

public void setRelationships(Relationships value)

getAssemblyDescriptor

public AssemblyDescriptor getAssemblyDescriptor()

setAssemblyDescriptor

public void setAssemblyDescriptor(AssemblyDescriptor value)

getEjbClientJar

public String getEjbClientJar()

setEjbClientJar

public void setEjbClientJar(String value)

getId

public String getId()

setId

public void setId(String value)

isMetadataComplete

public Boolean isMetadataComplete()

setMetadataComplete

public void setMetadataComplete(Boolean value)

getVersion

public String getVersion()

setVersion

public void setVersion(String value)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.