org.apache.openejb.jee
Class EjbJar
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
EjbJar
public EjbJar()
EjbJar
public EjbJar(String id)
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.