tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r738353 - in /openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee: EjbLocalRef.java EnterpriseBean.java EntityBean.java MessageDrivenBean.java Method.java SessionBean.java
Date Wed, 28 Jan 2009 03:47:36 GMT
Author: dblevins
Date: Wed Jan 28 03:47:35 2009
New Revision: 738353

URL: http://svn.apache.org/viewvc?rev=738353&view=rev
Log:
Various additional overloaded methods

Modified:
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EjbLocalRef.java
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java
    openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EjbLocalRef.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EjbLocalRef.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EjbLocalRef.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EjbLocalRef.java
Wed Jan 28 03:47:35 2009
@@ -87,6 +87,11 @@
     public EjbLocalRef() {
     }
 
+    public EjbLocalRef(String ejbRefName, String ejbLink) {
+        this.ejbRefName = ejbRefName;
+        this.ejbLink = ejbLink;
+    }
+
     public EjbLocalRef(EjbReference ref) {
         this.ejbRefName = ref.getName();
         this.ejbRefType = ref.getEjbRefType();

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EnterpriseBean.java
Wed Jan 28 03:47:35 2009
@@ -39,6 +39,8 @@
 
     public void setEjbClass(String value);
 
+    public void setEjbClass(Class value);
+
     public SecurityIdentity getSecurityIdentity();
 
     public void setSecurityIdentity(SecurityIdentity value);

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/EntityBean.java
Wed Jan 28 03:47:35 2009
@@ -359,6 +359,10 @@
         this.ejbClass = value;
     }
 
+    public void setEjbClass(Class value) {
+        this.ejbClass = value.getName();
+    }
+
     public PersistenceType getPersistenceType() {
         return persistenceType;
     }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/MessageDrivenBean.java
Wed Jan 28 03:47:35 2009
@@ -280,6 +280,10 @@
         this.ejbClass = value;
     }
 
+    public void setEjbClass(Class value) {
+        this.ejbClass = value.getName();
+    }
+
     public String getMessagingType() {
         return messagingType;
     }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java
Wed Jan 28 03:47:35 2009
@@ -241,7 +241,7 @@
         this.className = method.getDeclaringClass().getName();
         MethodParams methodParams = new MethodParams();
         for (Class<?> type : method.getParameterTypes()) {
-            methodParams.getMethodParam().add(type.getCanonicalName());
+            methodParams.getMethodParam().add(type.getName());
         }
         this.methodParams = methodParams;
     }

Modified: openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java?rev=738353&r1=738352&r2=738353&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java
(original)
+++ openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/SessionBean.java
Wed Jan 28 03:47:35 2009
@@ -409,6 +409,10 @@
         this.ejbClass = value;
     }
 
+    public void setEjbClass(Class value) {
+        this.ejbClass = value.getName();
+    }
+
     public SessionType getSessionType() {
         return sessionType;
     }



Mime
View raw message