public class EjbJar extends Object implements NamedModule
Java 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>
| Modifier and Type | Field and Description |
|---|---|
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 Interceptors |
interceptors |
protected Boolean |
metadataComplete |
protected String |
moduleName |
protected Relationships |
relationships |
protected String |
version |
protected String moduleName
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected Map<String,EnterpriseBean> enterpriseBeans
protected Interceptors interceptors
protected Relationships relationships
protected AssemblyDescriptor assemblyDescriptor
protected String ejbClientJar
protected String id
protected Boolean metadataComplete
protected String version
public EjbJar()
public EjbJar(String id)
public String getModuleName()
getModuleName in interface NamedModulepublic void setModuleName(String moduleName)
setModuleName in interface NamedModulepublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public EnterpriseBean[] getEnterpriseBeans()
public void setEnterpriseBeans(EnterpriseBean[] v)
public <T extends EnterpriseBean> T addEnterpriseBean(T bean)
public <T extends EnterpriseBean> EjbJar enterpriseBean(T bean)
public EnterpriseBean removeEnterpriseBean(EnterpriseBean bean)
public EnterpriseBean removeEnterpriseBean(String name)
public EnterpriseBean getEnterpriseBean(String ejbName)
public Map<String,EnterpriseBean> getEnterpriseBeansByEjbName()
public Interceptor[] getInterceptors()
public Interceptor addInterceptor(Interceptor interceptor)
public Interceptor getInterceptor(String className)
public Relationships getRelationships()
public void setRelationships(Relationships value)
public AssemblyDescriptor getAssemblyDescriptor()
public void setAssemblyDescriptor(AssemblyDescriptor value)
public String getEjbClientJar()
public void setEjbClientJar(String value)
public String getId()
getId in interface NamedModulepublic void setId(String value)
setId in interface NamedModulepublic Boolean isMetadataComplete()
public void setMetadataComplete(Boolean value)
public String getVersion()
public void setVersion(String value)
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.