org.ow2.jonas.deployment.ejb
Class DeploymentDescEjb1_1

java.lang.Object
  extended by org.ow2.jonas.deployment.common.DescriptionGroupDesc
      extended by org.ow2.jonas.deployment.ejb.DeploymentDesc
          extended by org.ow2.jonas.deployment.ejb.DeploymentDescEjb1_1
All Implemented Interfaces:
IDescriptionGroupDesc

public class DeploymentDescEjb1_1
extends DeploymentDesc

Class to hold meta-information related to the deployment of an ejb-jar 1.1

Author:
Philippe Durieux (Bull)

Field Summary
 
Fields inherited from class org.ow2.jonas.deployment.ejb.DeploymentDesc
asd, beanDesc, ejbClientJar, fileName, jonasMDList, logger, specVersion
 
Fields inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc
description, displayName, largeIcon, smallIcon
 
Constructor Summary
DeploymentDescEjb1_1(ClassLoader cl, EjbJar ej, JonasEjbJar jej, org.objectweb.util.monolog.api.Logger l, String fileName)
          constructor
 
Method Summary
protected  BeanDesc newEntityBeanDesc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList)
          In case of beans with old CMP1 persistance, we need to instanciate the old class, as if we were in an old Deployment Descriptor.
 
Methods inherited from class org.ow2.jonas.deployment.ejb.DeploymentDesc
asn2BeanDesc, getBeanDesc, getBeanDesc, getBeanDescIterator, getBeanDescWithLocalInterface, getDisplayName, getEjbClientJar, getExcludeListDesc, getJonasMessageDestination, getJOnASXmlContent, getLogger, getMessageDestination, getMethodPermissionsDescList, getMonitoringEnabled, getRolesForRunAsPrincipal, getWarningThreshold, getXmlContent, setJOnASXmlContent, setLogger, setXmlContent, toString
 
Methods inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc
getDescription, getLargeIcon, getSAXMsg, getSmallIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentDescEjb1_1

public DeploymentDescEjb1_1(ClassLoader cl,
                            EjbJar ej,
                            JonasEjbJar jej,
                            org.objectweb.util.monolog.api.Logger l,
                            String fileName)
                     throws DeploymentDescException
constructor

Throws:
DeploymentDescException
Method Detail

newEntityBeanDesc

protected BeanDesc newEntityBeanDesc(ClassLoader classLoader,
                                     Entity ent,
                                     AssemblyDescriptor asd,
                                     JonasEntity jEnt,
                                     JLinkedList jMDRList)
                              throws DeploymentDescException
Description copied from class: DeploymentDesc
In case of beans with old CMP1 persistance, we need to instanciate the old class, as if we were in an old Deployment Descriptor. Default is CMP2.x for entity beans with a EJB2.0 DD.

Specified by:
newEntityBeanDesc in class DeploymentDesc
Parameters:
classLoader - The ClassLoader to be used
ent - Entity MetaInformation from XML files
asd - AssemblyDescriptor MetaInformation from XML files
jEnt - JonasEntity MetaInformation from XML files
jMDRList - MessageDrivenRef list
Returns:
The Entity Bean Descriptor, for the good CMP version.
Throws:
DeploymentDescException - Cannot build Entity Descriptor


Copyright © 2010 OW2 Consortium. All Rights Reserved.