geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee Handler.java MessageDestinationRef.java ParamValue.java
Date Wed, 01 Oct 2003 18:58:42 GMT
ammulder    2003/10/01 11:58:42

  Modified:    modules/core/src/java/org/apache/geronimo/deployment/model/ejb
                        EnterpriseBeans.java
               modules/core/src/java/org/apache/geronimo/deployment/model/j2ee
                        Handler.java MessageDestinationRef.java
                        ParamValue.java
  Log:
  Add some missing fields/methods for the POJOs, and a new helper method.
  
  Revision  Changes    Path
  1.3       +5 -4      incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/ejb/EnterpriseBeans.java
  
  Index: EnterpriseBeans.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/ejb/EnterpriseBeans.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EnterpriseBeans.java	2 Sep 2003 17:04:19 -0000	1.2
  +++ EnterpriseBeans.java	1 Oct 2003 18:58:42 -0000	1.3
  @@ -55,9 +55,6 @@
    */
   package org.apache.geronimo.deployment.model.ejb;
   
  -import java.util.List;
  -import java.util.ArrayList;
  -
   /**
    *  JavaBean for the ejb-jar.xml tag enterprise-beans
    *
  @@ -114,5 +111,9 @@
   
       public void setMessageDriven(int i, MessageDriven messageDriven) {
           this.messageDriven[i] = messageDriven;
  +    }
  +
  +    public boolean hasBeans() {
  +        return session.length > 0 || entity.length > 0 || messageDriven.length >
0;
       }
   }
  
  
  
  1.3       +34 -2     incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/Handler.java
  
  Index: Handler.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/Handler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Handler.java	2 Sep 2003 17:04:20 -0000	1.2
  +++ Handler.java	1 Oct 2003 18:58:42 -0000	1.3
  @@ -60,7 +60,7 @@
    *
    * @version $Revision$ $Date$
    */
  -public class Handler extends Describable {
  +public class Handler extends Displayable {
       private String handlerName;
       private String handlerClass;
       private ParamValue[] initParam;
  @@ -88,31 +88,63 @@
           return initParam;
       }
   
  +    public ParamValue getInitParam(int i) {
  +        return initParam[i];
  +    }
  +
       public void setInitParam(ParamValue[] initParam) {
           this.initParam = initParam;
       }
   
  +    public void setInitParam(int i, ParamValue initParam) {
  +        this.initParam[i] = initParam;
  +    }
  +
       public String[] getPortName() {
           return portName;
       }
   
  +    public String getPortName(int i) {
  +        return portName[i];
  +    }
  +
       public void setPortName(String[] portName) {
           this.portName = portName;
       }
   
  +    public void setPortName(int i, String portName) {
  +        this.portName[i] = portName;
  +    }
  +
       public String[] getSoapHeader() {
           return soapHeader;
       }
   
  +    public String getSoapHeader(int i) {
  +        return soapHeader[i];
  +    }
  +
       public void setSoapHeader(String[] soapHeader) {
           this.soapHeader = soapHeader;
       }
   
  +    public void setSoapHeader(int i, String soapHeader) {
  +        this.soapHeader[i] = soapHeader;
  +    }
  +
       public String[] getSoapRole() {
           return soapRole;
       }
   
  +    public String getSoapRole(int i) {
  +        return soapRole[i];
  +    }
  +
       public void setSoapRole(String[] soapRole) {
           this.soapRole = soapRole;
  +    }
  +
  +    public void setSoapRole(int i, String soapRole) {
  +        this.soapRole[i] = soapRole;
       }
   }
  
  
  
  1.3       +10 -1     incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/MessageDestinationRef.java
  
  Index: MessageDestinationRef.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/MessageDestinationRef.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MessageDestinationRef.java	2 Sep 2003 17:04:20 -0000	1.2
  +++ MessageDestinationRef.java	1 Oct 2003 18:58:42 -0000	1.3
  @@ -63,6 +63,7 @@
   public class MessageDestinationRef extends Describable {
       private String messageDestinationRefName;
       private String messageDestinationType;
  +    private String messageDestinationUsage;
       private String messageDestinationLink;
   
       public String getMessageDestinationLink() {
  @@ -79,6 +80,14 @@
   
       public void setMessageDestinationRefName(String messageDestinationRefName) {
           this.messageDestinationRefName = messageDestinationRefName;
  +    }
  +
  +    public String getMessageDestinationUsage() {
  +        return messageDestinationUsage;
  +    }
  +
  +    public void setMessageDestinationUsage(String messageDestinationUsage) {
  +        this.messageDestinationUsage = messageDestinationUsage;
       }
   
       public String getMessageDestinationType() {
  
  
  
  1.3       +2 -2      incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/ParamValue.java
  
  Index: ParamValue.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/model/j2ee/ParamValue.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ParamValue.java	2 Sep 2003 17:04:20 -0000	1.2
  +++ ParamValue.java	1 Oct 2003 18:58:42 -0000	1.3
  @@ -61,7 +61,7 @@
    *
    * @version $Revision$ $Date$
    */
  -public class ParamValue {
  +public class ParamValue extends Describable {
       private String paramName;
       private String paramValue;
   
  
  
  

Mime
View raw message