Package org.apache.openejb.jee
Class EjbJar
- java.lang.Object
-
- org.apache.openejb.jee.EjbJar
-
- All Implemented Interfaces:
NamedModule
public class EjbJar extends Object implements NamedModule
ejb-jar_3_1.xsdJava class for ejb-jarType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-jarType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="module-name" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/> <element name="enterprise-beans" type="{http://java.sun.com/xml/ns/javaee}enterprise-beansType" minOccurs="0"/> <element name="interceptors" type="{http://java.sun.com/xml/ns/javaee}interceptorsType" minOccurs="0"/> <element name="relationships" type="{http://java.sun.com/xml/ns/javaee}relationshipsType" minOccurs="0"/> <element name="assembly-descriptor" type="{http://java.sun.com/xml/ns/javaee}assembly-descriptorType" minOccurs="0"/> <element name="ejb-client-jar" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/> </sequence> <attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="3.1" /> <attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AssemblyDescriptorassemblyDescriptorprotected TextMapdescriptionprotected TextMapdisplayNameprotected StringejbClientJarprotected Map<String,EnterpriseBean>enterpriseBeansprotected LocalCollection<Icon>iconprotected Stringidprotected Interceptorsinterceptorsprotected BooleanmetadataCompleteprotected StringmoduleNameprotected Relationshipsrelationshipsprotected Stringversion
-
Method Summary
-
-
-
Field Detail
-
moduleName
protected String moduleName
-
description
protected TextMap description
-
displayName
protected TextMap displayName
-
icon
protected LocalCollection<Icon> icon
-
enterpriseBeans
protected Map<String,EnterpriseBean> enterpriseBeans
-
interceptors
protected Interceptors interceptors
-
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
-
getModuleName
public String getModuleName()
- Specified by:
getModuleNamein interfaceNamedModule
-
setModuleName
public void setModuleName(String moduleName)
- Specified by:
setModuleNamein interfaceNamedModule
-
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()
-
getIcon
public Icon getIcon()
-
getEnterpriseBeans
public EnterpriseBean[] getEnterpriseBeans()
-
setEnterpriseBeans
public void setEnterpriseBeans(EnterpriseBean[] v)
-
addEnterpriseBean
public <T extends EnterpriseBean> T addEnterpriseBean(T bean)
-
enterpriseBean
public <T extends EnterpriseBean> EjbJar enterpriseBean(T bean)
-
removeEnterpriseBean
public EnterpriseBean removeEnterpriseBean(EnterpriseBean 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()
- Specified by:
getIdin interfaceNamedModule
-
setId
public void setId(String value)
- Specified by:
setIdin interfaceNamedModule
-
isMetadataComplete
public Boolean isMetadataComplete()
-
setMetadataComplete
public void setMetadataComplete(Boolean value)
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String value)
-
-