You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/07/15 23:55:19 UTC

svn commit: r1610862 [18/44] - in /tomee/tomee/trunk/itests: ./ failover-ejb/ failover-ejb/src/main/java/org/apache/openejb/itest/failover/ejb/ failover/ failover/src/main/java/org/apache/openejb/itest/failover/ failover/src/main/java/org/apache/openej...

Modified: tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessBean.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessBean.java?rev=1610862&r1=1610861&r2=1610862&view=diff
==============================================================================
--- tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessBean.java (original)
+++ tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessBean.java Tue Jul 15 21:55:09 2014
@@ -29,19 +29,19 @@ import javax.naming.InitialContext;
 import org.apache.openejb.test.object.ObjectGraph;
 import org.apache.openejb.test.object.Color;
 
-public class RmiIiopStatelessBean implements javax.ejb.SessionBean{
-    
+public class RmiIiopStatelessBean implements javax.ejb.SessionBean {
+
     private String name;
     private SessionContext ejbContext;
-    
-    
+
+
     //=============================
     // Home interface methods
     //    
     //    
     // Home interface methods
     //=============================
-    
+
 
     //=============================
     // Remote interface methods
@@ -49,172 +49,172 @@ public class RmiIiopStatelessBean implem
     /*-------------------------------------------------*/
     /*  String                                         */  
     /*-------------------------------------------------*/
-    
-    public String returnStringObject(String data) {
+
+    public String returnStringObject(final String data) {
         return data;
     }
-    
-    public String[] returnStringObjectArray(String[] data) {
+
+    public String[] returnStringObjectArray(final String[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Character                                      */  
     /*-------------------------------------------------*/
-    
-    public Character returnCharacterObject(Character data) {
+
+    public Character returnCharacterObject(final Character data) {
         return data;
     }
-    
-    public char returnCharacterPrimitive(char data) {
+
+    public char returnCharacterPrimitive(final char data) {
         return data;
     }
-    
-    public Character[] returnCharacterObjectArray(Character[] data) {
+
+    public Character[] returnCharacterObjectArray(final Character[] data) {
         return data;
     }
-    
-    public char[] returnCharacterPrimitiveArray(char[] data) {
+
+    public char[] returnCharacterPrimitiveArray(final char[] data) {
         return data;
     }
 
     /*-------------------------------------------------*/
     /*  Boolean                                        */  
     /*-------------------------------------------------*/
-    
-    public Boolean returnBooleanObject(Boolean data) {
+
+    public Boolean returnBooleanObject(final Boolean data) {
         return data;
     }
-    
-    public boolean returnBooleanPrimitive(boolean data) {
+
+    public boolean returnBooleanPrimitive(final boolean data) {
         return data;
     }
-    
-    public Boolean[] returnBooleanObjectArray(Boolean[] data) {
+
+    public Boolean[] returnBooleanObjectArray(final Boolean[] data) {
         return data;
     }
-    
-    public boolean[] returnBooleanPrimitiveArray(boolean[] data) {
+
+    public boolean[] returnBooleanPrimitiveArray(final boolean[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Byte                                           */  
     /*-------------------------------------------------*/
-    
-    public Byte returnByteObject(Byte data) {
+
+    public Byte returnByteObject(final Byte data) {
         return data;
     }
-    
-    public byte returnBytePrimitive(byte data) {
+
+    public byte returnBytePrimitive(final byte data) {
         return data;
     }
-    
-    public Byte[] returnByteObjectArray(Byte[] data) {
+
+    public Byte[] returnByteObjectArray(final Byte[] data) {
         return data;
     }
-    
-    public byte[] returnBytePrimitiveArray(byte[] data) {
+
+    public byte[] returnBytePrimitiveArray(final byte[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Short                                          */  
     /*-------------------------------------------------*/
-    
-    public Short returnShortObject(Short data) {
+
+    public Short returnShortObject(final Short data) {
         return data;
     }
-    
-    public short returnShortPrimitive(short data) {
+
+    public short returnShortPrimitive(final short data) {
         return data;
     }
-    
-    public Short[] returnShortObjectArray(Short[] data) {
+
+    public Short[] returnShortObjectArray(final Short[] data) {
         return data;
     }
-    
-    public short[] returnShortPrimitiveArray(short[] data) {
+
+    public short[] returnShortPrimitiveArray(final short[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Integer                                        */  
     /*-------------------------------------------------*/
-    
-    public Integer returnIntegerObject(Integer data) {
+
+    public Integer returnIntegerObject(final Integer data) {
         return data;
     }
-    
-    public int returnIntegerPrimitive(int data) {
+
+    public int returnIntegerPrimitive(final int data) {
         return data;
     }
-    
-    public Integer[] returnIntegerObjectArray(Integer[] data) {
+
+    public Integer[] returnIntegerObjectArray(final Integer[] data) {
         return data;
     }
-    
-    public int[] returnIntegerPrimitiveArray(int[] data) {
+
+    public int[] returnIntegerPrimitiveArray(final int[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Long                                           */  
     /*-------------------------------------------------*/
-    
-    public Long returnLongObject(Long data) {
+
+    public Long returnLongObject(final Long data) {
         return data;
     }
-    
-    public long returnLongPrimitive(long data) {
+
+    public long returnLongPrimitive(final long data) {
         return data;
     }
-    
-    public Long[] returnLongObjectArray(Long[] data) {
+
+    public Long[] returnLongObjectArray(final Long[] data) {
         return data;
     }
-    
-    public long[] returnLongPrimitiveArray(long[] data) {
+
+    public long[] returnLongPrimitiveArray(final long[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Float                                          */  
     /*-------------------------------------------------*/
-    
-    public Float returnFloatObject(Float data) {
+
+    public Float returnFloatObject(final Float data) {
         return data;
     }
-    
-    public float returnFloatPrimitive(float data) {
+
+    public float returnFloatPrimitive(final float data) {
         return data;
     }
-    
-    public Float[] returnFloatObjectArray(Float[] data) {
+
+    public Float[] returnFloatObjectArray(final Float[] data) {
         return data;
     }
-    
-    public float[] returnFloatPrimitiveArray(float[] data) {
+
+    public float[] returnFloatPrimitiveArray(final float[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Double                                         */  
     /*-------------------------------------------------*/
-    
-    public Double returnDoubleObject(Double data) {
+
+    public Double returnDoubleObject(final Double data) {
         return data;
     }
-    
-    public double returnDoublePrimitive(double data) {
+
+    public double returnDoublePrimitive(final double data) {
         return data;
     }
-    
-    public Double[] returnDoubleObjectArray(Double[] data) {
+
+    public Double[] returnDoubleObjectArray(final Double[] data) {
         return data;
     }
-    
-    public double[] returnDoublePrimitiveArray(double[] data) {
+
+    public double[] returnDoublePrimitiveArray(final double[] data) {
         return data;
     }
     
@@ -222,172 +222,172 @@ public class RmiIiopStatelessBean implem
     /*-------------------------------------------------*/
     /*  EJBHome                                         */  
     /*-------------------------------------------------*/
-    
-    public EJBHome returnEJBHome(EJBHome data) {
+
+    public EJBHome returnEJBHome(final EJBHome data) {
         return data;
     }
-    
-    public EJBHome returnEJBHome() throws javax.ejb.EJBException{
+
+    public EJBHome returnEJBHome() throws javax.ejb.EJBException {
         EJBHome data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        data = (EJBHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            data = (EJBHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             e.printStackTrace();
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
 
-    public ObjectGraph returnNestedEJBHome() throws javax.ejb.EJBException{
-        ObjectGraph data = null; 
+    public ObjectGraph returnNestedEJBHome() throws javax.ejb.EJBException {
+        ObjectGraph data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        Object object = ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        data = new ObjectGraph(object);
+            final Object object = ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            data = new ObjectGraph(object);
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
 
-    public EJBHome[] returnEJBHomeArray(EJBHome[] data) {
+    public EJBHome[] returnEJBHomeArray(final EJBHome[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  EJBObject                                      */  
     /*-------------------------------------------------*/
-    
-    public EJBObject returnEJBObject(EJBObject data) {
+
+    public EJBObject returnEJBObject(final EJBObject data) {
         return data;
     }
-    
-    public EJBObject returnEJBObject() throws javax.ejb.EJBException{
+
+    public EJBObject returnEJBObject() throws javax.ejb.EJBException {
         EncStatelessObject data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        data = home.create();
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            data = home.create();
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public ObjectGraph returnNestedEJBObject() throws javax.ejb.EJBException{
+
+    public ObjectGraph returnNestedEJBObject() throws javax.ejb.EJBException {
         ObjectGraph data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        EncStatelessObject object = home.create();
-        data = new ObjectGraph(object);
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            final EncStatelessObject object = home.create();
+            data = new ObjectGraph(object);
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public EJBObject[] returnEJBObjectArray(EJBObject[] data) {
+
+    public EJBObject[] returnEJBObjectArray(final EJBObject[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  EJBMetaData                                         */  
     /*-------------------------------------------------*/
-    
-    public EJBMetaData returnEJBMetaData(EJBMetaData data) {
+
+    public EJBMetaData returnEJBMetaData(final EJBMetaData data) {
         return data;
     }
-    
-    public EJBMetaData returnEJBMetaData() throws javax.ejb.EJBException{
+
+    public EJBMetaData returnEJBMetaData() throws javax.ejb.EJBException {
         EJBMetaData data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        data = home.getEJBMetaData();
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            data = home.getEJBMetaData();
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public ObjectGraph returnNestedEJBMetaData() throws javax.ejb.EJBException{
+
+    public ObjectGraph returnNestedEJBMetaData() throws javax.ejb.EJBException {
         ObjectGraph data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        EJBMetaData object = home.getEJBMetaData();
-        data = new ObjectGraph(object);
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            final EJBMetaData object = home.getEJBMetaData();
+            data = new ObjectGraph(object);
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public EJBMetaData[] returnEJBMetaDataArray(EJBMetaData[] data) {
+
+    public EJBMetaData[] returnEJBMetaDataArray(final EJBMetaData[] data) {
         return data;
     }
     
     /*-------------------------------------------------*/
     /*  Handle                                         */  
     /*-------------------------------------------------*/
-    
-    public Handle returnHandle(Handle data) {
+
+    public Handle returnHandle(final Handle data) {
         return data;
     }
-    
-    public Handle returnHandle() throws javax.ejb.EJBException{
+
+    public Handle returnHandle() throws javax.ejb.EJBException {
         Handle data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        EncStatelessObject object = home.create();
-        data = object.getHandle();
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            final EncStatelessObject object = home.create();
+            data = object.getHandle();
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public ObjectGraph returnNestedHandle() throws javax.ejb.EJBException{
+
+    public ObjectGraph returnNestedHandle() throws javax.ejb.EJBException {
         ObjectGraph data = null;
 
-        try{
-        InitialContext ctx = new InitialContext();
+        try {
+            final InitialContext ctx = new InitialContext();
 
-        EncStatelessHome home = (EncStatelessHome)ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
-        EncStatelessObject object = home.create();
-        data = new ObjectGraph(object.getHandle());
+            final EncStatelessHome home = (EncStatelessHome) ctx.lookup("java:comp/env/stateless/rmi-iiop/home");
+            final EncStatelessObject object = home.create();
+            data = new ObjectGraph(object.getHandle());
 
-        } catch (Exception e){
+        } catch (final Exception e) {
             throw new javax.ejb.EJBException(e);
         }
         return data;
     }
-    
-    public Handle[] returnHandleArray(Handle[] data) {
+
+    public Handle[] returnHandleArray(final Handle[] data) {
         return data;
     }
     
@@ -396,11 +396,11 @@ public class RmiIiopStatelessBean implem
     /*  Class                                         */
     /*-------------------------------------------------*/
 
-    public Class returnClass(Class data) {
+    public Class returnClass(final Class data) {
         return data;
     }
 
-    public Class[] returnClassArray(Class[] data) {
+    public Class[] returnClassArray(final Class[] data) {
         return data;
     }
 
@@ -409,7 +409,7 @@ public class RmiIiopStatelessBean implem
     /*  Enum                                           */
     /*-------------------------------------------------*/
 
-    public Color returnColor(Color data) {
+    public Color returnColor(final Color data) {
         return data;
     }
 
@@ -421,7 +421,7 @@ public class RmiIiopStatelessBean implem
         return new ObjectGraph(Color.GREEN);
     }
 
-    public Color[] returnColorArray(Color[] data) {
+    public Color[] returnColorArray(final Color[] data) {
         return data;
     }
 
@@ -429,16 +429,16 @@ public class RmiIiopStatelessBean implem
     /*-------------------------------------------------*/
     /*  ObjectGraph                                         */  
     /*-------------------------------------------------*/
-    
-    public ObjectGraph returnObjectGraph(ObjectGraph data) {
+
+    public ObjectGraph returnObjectGraph(final ObjectGraph data) {
         return data;
     }
-    
-    public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data) {
+
+    public ObjectGraph[] returnObjectGraphArray(final ObjectGraph[] data) {
         return data;
     }
-    
-    public String remove(String arg) {
+
+    public String remove(final String arg) {
         return arg;
     }
 
@@ -450,27 +450,29 @@ public class RmiIiopStatelessBean implem
     //================================
     // SessionBean interface methods
     //    
+
     /**
      * Set the associated session context. The container calls this method
      * after the instance creation.
      */
-    public void setSessionContext(SessionContext ctx) throws EJBException,RemoteException {
+    public void setSessionContext(final SessionContext ctx) throws EJBException, RemoteException {
         ejbContext = ctx;
     }
+
     /**
-     * 
-     * @exception javax.ejb.CreateException
+     * @throws javax.ejb.CreateException
      */
-    public void ejbCreate() throws javax.ejb.CreateException{
+    public void ejbCreate() throws javax.ejb.CreateException {
         this.name = "nameless automaton";
     }
+
     /**
      * A container invokes this method before it ends the life of the session
      * object. This happens as a result of a client's invoking a remove
      * operation, or when a container decides to terminate the session object
      * after a timeout.
      */
-    public void ejbRemove() throws EJBException,RemoteException {
+    public void ejbRemove() throws EJBException, RemoteException {
     }
 
     /**
@@ -478,15 +480,16 @@ public class RmiIiopStatelessBean implem
      * from its "passive" state. The instance should acquire any resource
      * that it has released earlier in the ejbPassivate() method.
      */
-    public void ejbActivate() throws EJBException,RemoteException {
+    public void ejbActivate() throws EJBException, RemoteException {
         // Should never called.
     }
+
     /**
      * The passivate method is called before the instance enters
      * the "passive" state. The instance should release any resources that
      * it can re-acquire later in the ejbActivate() method.
      */
-    public void ejbPassivate() throws EJBException,RemoteException {
+    public void ejbPassivate() throws EJBException, RemoteException {
         // Should never called.
     }
 

Modified: tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessHome.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessHome.java?rev=1610862&r1=1610861&r2=1610862&view=diff
==============================================================================
--- tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessHome.java (original)
+++ tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessHome.java Tue Jul 15 21:55:09 2014
@@ -20,5 +20,5 @@ package org.apache.openejb.test.stateles
 public interface RmiIiopStatelessHome extends javax.ejb.EJBHome {
 
     public RmiIiopStatelessObject create()
-    throws javax.ejb.CreateException, java.rmi.RemoteException;
+        throws javax.ejb.CreateException, java.rmi.RemoteException;
 }

Modified: tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessObject.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessObject.java?rev=1610862&r1=1610861&r2=1610862&view=diff
==============================================================================
--- tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessObject.java (original)
+++ tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/RmiIiopStatelessObject.java Tue Jul 15 21:55:09 2014
@@ -26,122 +26,122 @@ import javax.ejb.Handle;
 import org.apache.openejb.test.object.ObjectGraph;
 import org.apache.openejb.test.object.Color;
 
-public interface RmiIiopStatelessObject extends javax.ejb.EJBObject{
-    
-    public String returnStringObject(String data) throws RemoteException; 
+public interface RmiIiopStatelessObject extends javax.ejb.EJBObject {
 
-    public String[] returnStringObjectArray(String[] data) throws RemoteException; 
+    public String returnStringObject(String data) throws RemoteException;
 
-    public Character returnCharacterObject(Character data) throws RemoteException; 
+    public String[] returnStringObjectArray(String[] data) throws RemoteException;
 
-    public char returnCharacterPrimitive(char data) throws RemoteException; 
+    public Character returnCharacterObject(Character data) throws RemoteException;
 
-    public Character[] returnCharacterObjectArray(Character[] data) throws RemoteException; 
+    public char returnCharacterPrimitive(char data) throws RemoteException;
 
-    public char[] returnCharacterPrimitiveArray(char[] data) throws RemoteException; 
+    public Character[] returnCharacterObjectArray(Character[] data) throws RemoteException;
 
-    public Boolean returnBooleanObject(Boolean data) throws RemoteException; 
+    public char[] returnCharacterPrimitiveArray(char[] data) throws RemoteException;
 
-    public boolean returnBooleanPrimitive(boolean data) throws RemoteException; 
+    public Boolean returnBooleanObject(Boolean data) throws RemoteException;
 
-    public Boolean[] returnBooleanObjectArray(Boolean[] data) throws RemoteException; 
+    public boolean returnBooleanPrimitive(boolean data) throws RemoteException;
 
-    public boolean[] returnBooleanPrimitiveArray(boolean[] data) throws RemoteException; 
+    public Boolean[] returnBooleanObjectArray(Boolean[] data) throws RemoteException;
 
-    public Byte returnByteObject(Byte data) throws RemoteException; 
+    public boolean[] returnBooleanPrimitiveArray(boolean[] data) throws RemoteException;
 
-    public byte returnBytePrimitive(byte data) throws RemoteException; 
+    public Byte returnByteObject(Byte data) throws RemoteException;
 
-    public Byte[] returnByteObjectArray(Byte[] data) throws RemoteException; 
+    public byte returnBytePrimitive(byte data) throws RemoteException;
 
-    public byte[] returnBytePrimitiveArray(byte[] data) throws RemoteException; 
+    public Byte[] returnByteObjectArray(Byte[] data) throws RemoteException;
 
-    public Short returnShortObject(Short data) throws RemoteException; 
+    public byte[] returnBytePrimitiveArray(byte[] data) throws RemoteException;
 
-    public short returnShortPrimitive(short data) throws RemoteException; 
+    public Short returnShortObject(Short data) throws RemoteException;
 
-    public Short[] returnShortObjectArray(Short[] data) throws RemoteException; 
+    public short returnShortPrimitive(short data) throws RemoteException;
 
-    public short[] returnShortPrimitiveArray(short[] data) throws RemoteException; 
+    public Short[] returnShortObjectArray(Short[] data) throws RemoteException;
 
-    public Integer returnIntegerObject(Integer data) throws RemoteException; 
+    public short[] returnShortPrimitiveArray(short[] data) throws RemoteException;
 
-    public int returnIntegerPrimitive(int data) throws RemoteException; 
+    public Integer returnIntegerObject(Integer data) throws RemoteException;
 
-    public Integer[] returnIntegerObjectArray(Integer[] data) throws RemoteException; 
+    public int returnIntegerPrimitive(int data) throws RemoteException;
 
-    public int[] returnIntegerPrimitiveArray(int[] data) throws RemoteException; 
+    public Integer[] returnIntegerObjectArray(Integer[] data) throws RemoteException;
 
-    public Long returnLongObject(Long data) throws RemoteException; 
+    public int[] returnIntegerPrimitiveArray(int[] data) throws RemoteException;
 
-    public long returnLongPrimitive(long data) throws RemoteException; 
+    public Long returnLongObject(Long data) throws RemoteException;
 
-    public Long[] returnLongObjectArray(Long[] data) throws RemoteException; 
+    public long returnLongPrimitive(long data) throws RemoteException;
 
-    public long[] returnLongPrimitiveArray(long[] data) throws RemoteException; 
+    public Long[] returnLongObjectArray(Long[] data) throws RemoteException;
 
-    public Float returnFloatObject(Float data) throws RemoteException; 
+    public long[] returnLongPrimitiveArray(long[] data) throws RemoteException;
 
-    public float returnFloatPrimitive(float data) throws RemoteException; 
+    public Float returnFloatObject(Float data) throws RemoteException;
 
-    public Float[] returnFloatObjectArray(Float[] data) throws RemoteException; 
+    public float returnFloatPrimitive(float data) throws RemoteException;
 
-    public float[] returnFloatPrimitiveArray(float[] data) throws RemoteException; 
+    public Float[] returnFloatObjectArray(Float[] data) throws RemoteException;
 
-    public Double returnDoubleObject(Double data) throws RemoteException; 
+    public float[] returnFloatPrimitiveArray(float[] data) throws RemoteException;
 
-    public double returnDoublePrimitive(double data) throws RemoteException; 
+    public Double returnDoubleObject(Double data) throws RemoteException;
 
-    public Double[] returnDoubleObjectArray(Double[] data) throws RemoteException; 
+    public double returnDoublePrimitive(double data) throws RemoteException;
 
-    public double[] returnDoublePrimitiveArray(double[] data) throws RemoteException; 
+    public Double[] returnDoubleObjectArray(Double[] data) throws RemoteException;
+
+    public double[] returnDoublePrimitiveArray(double[] data) throws RemoteException;
 
     public EJBHome returnEJBHome(EJBHome data) throws RemoteException;
 
-    public EJBHome returnEJBHome() throws RemoteException; 
+    public EJBHome returnEJBHome() throws RemoteException;
 
-    public ObjectGraph returnNestedEJBHome() throws RemoteException; 
+    public ObjectGraph returnNestedEJBHome() throws RemoteException;
 
-    public EJBHome[] returnEJBHomeArray(EJBHome[] data) throws RemoteException; 
+    public EJBHome[] returnEJBHomeArray(EJBHome[] data) throws RemoteException;
 
-    public EJBObject returnEJBObject(EJBObject data) throws RemoteException; 
+    public EJBObject returnEJBObject(EJBObject data) throws RemoteException;
 
-    public EJBObject returnEJBObject() throws RemoteException; 
+    public EJBObject returnEJBObject() throws RemoteException;
 
-    public ObjectGraph returnNestedEJBObject() throws RemoteException; 
+    public ObjectGraph returnNestedEJBObject() throws RemoteException;
 
-    public EJBObject[] returnEJBObjectArray(EJBObject[] data) throws RemoteException; 
+    public EJBObject[] returnEJBObjectArray(EJBObject[] data) throws RemoteException;
 
-    public EJBMetaData returnEJBMetaData(EJBMetaData data) throws RemoteException; 
+    public EJBMetaData returnEJBMetaData(EJBMetaData data) throws RemoteException;
 
-    public EJBMetaData returnEJBMetaData() throws RemoteException; 
+    public EJBMetaData returnEJBMetaData() throws RemoteException;
 
-    public ObjectGraph returnNestedEJBMetaData() throws RemoteException; 
+    public ObjectGraph returnNestedEJBMetaData() throws RemoteException;
 
-    public EJBMetaData[] returnEJBMetaDataArray(EJBMetaData[] data) throws RemoteException; 
+    public EJBMetaData[] returnEJBMetaDataArray(EJBMetaData[] data) throws RemoteException;
 
-    public Handle returnHandle(Handle data) throws RemoteException; 
+    public Handle returnHandle(Handle data) throws RemoteException;
 
-    public Handle returnHandle() throws RemoteException; 
+    public Handle returnHandle() throws RemoteException;
 
-    public ObjectGraph returnNestedHandle() throws RemoteException; 
+    public ObjectGraph returnNestedHandle() throws RemoteException;
 
-    public Handle[] returnHandleArray(Handle[] data) throws RemoteException; 
+    public Handle[] returnHandleArray(Handle[] data) throws RemoteException;
 
-    public ObjectGraph returnObjectGraph(ObjectGraph data) throws RemoteException; 
+    public ObjectGraph returnObjectGraph(ObjectGraph data) throws RemoteException;
 
-    public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data) throws RemoteException; 
+    public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data) throws RemoteException;
 
     public Class returnClass(Class data) throws RemoteException;
 
     public Class[] returnClassArray(Class[] data) throws RemoteException;
 
-    public Color returnColor(Color data)  throws RemoteException;
+    public Color returnColor(Color data) throws RemoteException;
 
-    public Color returnColor()  throws RemoteException;
+    public Color returnColor() throws RemoteException;
 
-    public ObjectGraph returnNestedColor()  throws RemoteException;
+    public ObjectGraph returnNestedColor() throws RemoteException;
 
-    public Color[] returnColorArray(Color[] data)  throws RemoteException;
+    public Color[] returnColorArray(Color[] data) throws RemoteException;
 
 }

Modified: tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/SetterInjectionStatelessBean.java
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/SetterInjectionStatelessBean.java?rev=1610862&r1=1610861&r2=1610862&view=diff
==============================================================================
--- tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/SetterInjectionStatelessBean.java (original)
+++ tomee/tomee/trunk/itests/openejb-itests-beans/src/main/java/org/apache/openejb/test/stateless/SetterInjectionStatelessBean.java Tue Jul 15 21:55:09 2014
@@ -77,7 +77,7 @@ public class SetterInjectionStatelessBea
         return statefulBusinessLocalField;
     }
 
-    public void setStatefulBusinessLocal(BasicStatefulBusinessLocal statefulBusinessLocal) {
+    public void setStatefulBusinessLocal(final BasicStatefulBusinessLocal statefulBusinessLocal) {
         this.statefulBusinessLocalField = statefulBusinessLocal;
     }
 
@@ -85,10 +85,11 @@ public class SetterInjectionStatelessBea
         return statefulBusinessLocalBeanField;
     }
 
-    public void setStatefulBusinessLocalBean(BasicStatefulPojoBean statefulBusinessLocalBean) {
+    public void setStatefulBusinessLocalBean(final BasicStatefulPojoBean statefulBusinessLocalBean) {
         this.statefulBusinessLocalBeanField = statefulBusinessLocalBean;
 
     }
+
     public BasicStatelessPojoBean getStatelessBusinessLocalBean() {
         return statelessBusinessLocalBeanField;
     }
@@ -97,7 +98,7 @@ public class SetterInjectionStatelessBea
         return statefulBusinessRemoteField;
     }
 
-    public void setStatefulBusinessRemote(BasicStatefulBusinessRemote statefulBusinessRemote) {
+    public void setStatefulBusinessRemote(final BasicStatefulBusinessRemote statefulBusinessRemote) {
         this.statefulBusinessRemoteField = statefulBusinessRemote;
     }
 
@@ -105,11 +106,11 @@ public class SetterInjectionStatelessBea
         return statelessBusinessLocalField;
     }
 
-    public void setStatelessBusinessLocal(BasicStatelessBusinessLocal statelessBusinessLocal) {
+    public void setStatelessBusinessLocal(final BasicStatelessBusinessLocal statelessBusinessLocal) {
         this.statelessBusinessLocalField = statelessBusinessLocal;
     }
 
-    public void setStatelessBusinessLocalBean(BasicStatelessPojoBean statelessBusinessLocalBean) {
+    public void setStatelessBusinessLocalBean(final BasicStatelessPojoBean statelessBusinessLocalBean) {
         this.statelessBusinessLocalBeanField = statelessBusinessLocalBean;
     }
 
@@ -117,7 +118,7 @@ public class SetterInjectionStatelessBea
         return statelessBusinessRemoteField;
     }
 
-    public void setStatelessBusinessRemote(BasicStatelessBusinessRemote statelessBusinessRemote) {
+    public void setStatelessBusinessRemote(final BasicStatelessBusinessRemote statelessBusinessRemote) {
         this.statelessBusinessRemoteField = statelessBusinessRemote;
     }
 
@@ -125,7 +126,7 @@ public class SetterInjectionStatelessBea
         return bmpHomeField;
     }
 
-    public void setBmpHome(BasicBmpHome bmpHome) {
+    public void setBmpHome(final BasicBmpHome bmpHome) {
         this.bmpHomeField = bmpHome;
     }
 
@@ -133,7 +134,7 @@ public class SetterInjectionStatelessBea
         return boooleanField;
     }
 
-    public void setBooolean(Boolean booolean) {
+    public void setBooolean(final Boolean booolean) {
         this.boooleanField = booolean;
     }
 
@@ -141,7 +142,7 @@ public class SetterInjectionStatelessBea
         return byyteField;
     }
 
-    public void setByyte(Byte byyte) {
+    public void setByyte(final Byte byyte) {
         this.byyteField = byyte;
     }
 
@@ -149,7 +150,7 @@ public class SetterInjectionStatelessBea
         return chaaracterField;
     }
 
-    public void setChaaracter(Character chaaracter) {
+    public void setChaaracter(final Character chaaracter) {
         this.chaaracterField = chaaracter;
     }
 
@@ -157,7 +158,7 @@ public class SetterInjectionStatelessBea
         return daataSourceField;
     }
 
-    public void setDaataSource(DataSource daataSource) {
+    public void setDaataSource(final DataSource daataSource) {
         this.daataSourceField = daataSource;
     }
 
@@ -165,7 +166,7 @@ public class SetterInjectionStatelessBea
         return coonnectionFactory;
     }
 
-    public void setCoonnectionFactory(ConnectionFactory coonnectionFactory) {
+    public void setCoonnectionFactory(final ConnectionFactory coonnectionFactory) {
         this.coonnectionFactory = coonnectionFactory;
     }
 
@@ -173,7 +174,7 @@ public class SetterInjectionStatelessBea
         return queueCoonnectionFactory;
     }
 
-    public void setQueueCoonnectionFactory(QueueConnectionFactory queueCoonnectionFactory) {
+    public void setQueueCoonnectionFactory(final QueueConnectionFactory queueCoonnectionFactory) {
         this.queueCoonnectionFactory = queueCoonnectionFactory;
     }
 
@@ -181,7 +182,7 @@ public class SetterInjectionStatelessBea
         return topicCoonnectionFactory;
     }
 
-    public void setTopicCoonnectionFactory(TopicConnectionFactory topicCoonnectionFactory) {
+    public void setTopicCoonnectionFactory(final TopicConnectionFactory topicCoonnectionFactory) {
         this.topicCoonnectionFactory = topicCoonnectionFactory;
     }
 
@@ -189,7 +190,7 @@ public class SetterInjectionStatelessBea
         return dooubleField;
     }
 
-    public void setDoouble(Double doouble) {
+    public void setDoouble(final Double doouble) {
         this.dooubleField = doouble;
     }
 
@@ -197,7 +198,7 @@ public class SetterInjectionStatelessBea
         return eemField;
     }
 
-    public void setEem(EntityManager eem) {
+    public void setEem(final EntityManager eem) {
         this.eemField = eem;
     }
 
@@ -205,7 +206,7 @@ public class SetterInjectionStatelessBea
         return ejbContextField;
     }
 
-    public void setEjbContext(SessionContext ejbContext) {
+    public void setEjbContext(final SessionContext ejbContext) {
         this.ejbContextField = ejbContext;
     }
 
@@ -213,7 +214,7 @@ public class SetterInjectionStatelessBea
         return emField;
     }
 
-    public void setEm(EntityManager em) {
+    public void setEm(final EntityManager em) {
         this.emField = em;
     }
 
@@ -221,7 +222,7 @@ public class SetterInjectionStatelessBea
         return emfField;
     }
 
-    public void setEmf(EntityManagerFactory emf) {
+    public void setEmf(final EntityManagerFactory emf) {
         this.emfField = emf;
     }
 
@@ -229,7 +230,7 @@ public class SetterInjectionStatelessBea
         return flooatField;
     }
 
-    public void setFlooat(Float flooat) {
+    public void setFlooat(final Float flooat) {
         this.flooatField = flooat;
     }
 
@@ -237,7 +238,7 @@ public class SetterInjectionStatelessBea
         return inteegerField;
     }
 
-    public void setInteeger(Integer inteeger) {
+    public void setInteeger(final Integer inteeger) {
         this.inteegerField = inteeger;
     }
 
@@ -245,7 +246,7 @@ public class SetterInjectionStatelessBea
         return loongField;
     }
 
-    public void setLoong(Long loong) {
+    public void setLoong(final Long loong) {
         this.loongField = loong;
     }
 
@@ -253,7 +254,7 @@ public class SetterInjectionStatelessBea
         return pemField;
     }
 
-    public void setPem(EntityManager pem) {
+    public void setPem(final EntityManager pem) {
         this.pemField = pem;
     }
 
@@ -261,7 +262,7 @@ public class SetterInjectionStatelessBea
         return shoortField;
     }
 
-    public void setShoort(Short shoort) {
+    public void setShoort(final Short shoort) {
         this.shoortField = shoort;
     }
 
@@ -269,7 +270,7 @@ public class SetterInjectionStatelessBea
         return statefulHomeField;
     }
 
-    public void setStatefulHome(BasicStatefulHome statefulHome) {
+    public void setStatefulHome(final BasicStatefulHome statefulHome) {
         this.statefulHomeField = statefulHome;
     }
 
@@ -277,7 +278,7 @@ public class SetterInjectionStatelessBea
         return statelessHomeField;
     }
 
-    public void setStatelessHome(BasicStatelessHome statelessHome) {
+    public void setStatelessHome(final BasicStatelessHome statelessHome) {
         this.statelessHomeField = statelessHome;
     }
 
@@ -285,7 +286,7 @@ public class SetterInjectionStatelessBea
         return striingField;
     }
 
-    public void setStriing(String striing) {
+    public void setStriing(final String striing) {
         this.striingField = striing;
     }
 
@@ -295,7 +296,7 @@ public class SetterInjectionStatelessBea
     public void lookupEntityBean() throws TestFailureException {
         try {
             Assert.assertNotNull("The EJBObject is null", bmpHomeField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -303,7 +304,7 @@ public class SetterInjectionStatelessBea
     public void lookupStatefulBean() throws TestFailureException {
         try {
             Assert.assertNotNull("The EJBObject is null", statefulHomeField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -311,47 +312,47 @@ public class SetterInjectionStatelessBea
     public void lookupStatelessBean() throws TestFailureException {
         try {
             Assert.assertNotNull("The EJBObject is null", statelessHomeField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupStatelessBusinessLocal() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessLocal is null", statelessBusinessLocalField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatelessBusinessLocal() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessLocal is null", statelessBusinessLocalField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupStatelessBusinessRemote() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessRemote is null", statelessBusinessRemoteField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatelessBusinessRemote() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessRemote is null", statelessBusinessRemoteField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupStatefulBusinessLocal() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessLocal is null", statefulBusinessLocalField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatefulBusinessLocal() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessLocal is null", statefulBusinessLocalField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupStatefulBusinessLocalBean() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessLocalBean is null", statefulBusinessLocalBeanField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatefulBusinessLocalBean() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessLocalBean is null", statefulBusinessLocalBeanField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupStatefulBusinessRemote() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessRemote is null", statefulBusinessRemoteField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatefulBusinessRemote() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessRemote is null", statefulBusinessRemoteField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -359,100 +360,100 @@ public class SetterInjectionStatelessBea
 
     public void lookupStringEntry() throws TestFailureException {
         try {
-            String expected = new String("1");
+            final String expected = new String("1");
             Assert.assertNotNull("The String looked up is null", striingField);
             Assert.assertEquals(expected, striingField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupDoubleEntry() throws TestFailureException {
         try {
-            Double expected = new Double(1.0D);
+            final Double expected = new Double(1.0D);
 
             Assert.assertNotNull("The Double looked up is null", dooubleField);
             Assert.assertEquals(expected, dooubleField);
 
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupLongEntry() throws TestFailureException {
         try {
-            Long expected = new Long(1L);
+            final Long expected = new Long(1L);
 
             Assert.assertNotNull("The Long looked up is null", loongField);
             Assert.assertEquals(expected, loongField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupFloatEntry() throws TestFailureException {
         try {
-            Float expected = new Float(1.0F);
+            final Float expected = new Float(1.0F);
 
             Assert.assertNotNull("The Float looked up is null", flooatField);
             Assert.assertEquals(expected, flooatField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupIntegerEntry() throws TestFailureException {
         try {
-            Integer expected = new Integer(1);
+            final Integer expected = new Integer(1);
 
             Assert.assertNotNull("The Integer looked up is null", inteegerField);
             Assert.assertEquals(expected, inteegerField);
 
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupShortEntry() throws TestFailureException {
         try {
-            Short expected = new Short((short) 1);
+            final Short expected = new Short((short) 1);
 
             Assert.assertNotNull("The Short looked up is null", shoortField);
             Assert.assertEquals(expected, shoortField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupBooleanEntry() throws TestFailureException {
         try {
-            Boolean expected = new Boolean(true);
+            final Boolean expected = new Boolean(true);
 
             Assert.assertNotNull("The Boolean looked up is null", boooleanField);
             Assert.assertEquals(expected, boooleanField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupByteEntry() throws TestFailureException {
         try {
-            Byte expected = new Byte((byte) 1);
+            final Byte expected = new Byte((byte) 1);
 
             Assert.assertNotNull("The Byte looked up is null", byyteField);
             Assert.assertEquals(expected, byyteField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
     public void lookupCharacterEntry() throws TestFailureException {
         try {
-            Character expected = new Character('D');
+            final Character expected = new Character('D');
 
             Assert.assertNotNull("The Character looked up is null", chaaracterField);
             Assert.assertEquals(expected, chaaracterField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -460,30 +461,30 @@ public class SetterInjectionStatelessBea
     public void lookupResource() throws TestFailureException {
         try {
             Assert.assertNotNull("The DataSource is null", daataSourceField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    public void lookupJMSConnectionFactory() throws TestFailureException{
-        try{
-            try{
+    public void lookupJMSConnectionFactory() throws TestFailureException {
+        try {
+            try {
                 testJmsConnection(coonnectionFactory.createConnection());
                 testJmsConnection(queueCoonnectionFactory.createConnection());
                 testJmsConnection(topicCoonnectionFactory.createConnection());
-            } catch (Exception e){
+            } catch (final Exception e) {
                 e.printStackTrace();
-                Assert.fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+                Assert.fail("Received Exception " + e.getClass() + " : " + e.getMessage());
             }
-        } catch (AssertionFailedError afe){
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
 
-    private void testJmsConnection(javax.jms.Connection connection) throws JMSException {
-        Session session = connection.createSession(false, Session.DUPS_OK_ACKNOWLEDGE);
-        Topic topic = session.createTopic("test");
-        MessageProducer producer = session.createProducer(topic);
+    private void testJmsConnection(final javax.jms.Connection connection) throws JMSException {
+        final Session session = connection.createSession(false, Session.DUPS_OK_ACKNOWLEDGE);
+        final Topic topic = session.createTopic("test");
+        final MessageProducer producer = session.createProducer(topic);
         producer.send(session.createMessage());
         producer.close();
         session.close();
@@ -493,7 +494,7 @@ public class SetterInjectionStatelessBea
     public void lookupPersistenceUnit() throws TestFailureException {
         try {
             Assert.assertNotNull("The EntityManagerFactory is null", emfField);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -505,10 +506,10 @@ public class SetterInjectionStatelessBea
             try {
                 // call a do nothing method to assure entity manager actually exists
                 emField.getFlushMode();
-            } catch (Exception e) {
+            } catch (final Exception e) {
                 Assert.fail("Received Exception " + e.getClass() + " : " + e.getMessage());
             }
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
     }
@@ -517,21 +518,21 @@ public class SetterInjectionStatelessBea
         try {
 // TODO: DMB: Can't seem to find where to make this work
 //            Assert.assertNotNull("The SessionContext is null", ejbContext);
-        } catch (AssertionFailedError afe) {
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
 
     }
 
-    public void lookupStatelessBusinessLocalBean() throws TestFailureException{
-        try{
-            Assert.assertNotNull("The EJB BusinessLocalBean is null", statelessBusinessLocalBeanField );
-        } catch (AssertionFailedError afe){
+    public void lookupStatelessBusinessLocalBean() throws TestFailureException {
+        try {
+            Assert.assertNotNull("The EJB BusinessLocalBean is null", statelessBusinessLocalBeanField);
+        } catch (final AssertionFailedError afe) {
             throw new TestFailureException(afe);
         }
 
     }
-    
+
 
     public void ejbActivate() throws EJBException, RemoteException {
     }
@@ -542,6 +543,6 @@ public class SetterInjectionStatelessBea
     public void ejbRemove() throws EJBException, RemoteException {
     }
 
-    public void setSessionContext(SessionContext sessionContext) throws EJBException, RemoteException {
+    public void setSessionContext(final SessionContext sessionContext) throws EJBException, RemoteException {
     }
 }

Modified: tomee/tomee/trunk/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml?rev=1610862&r1=1610861&r2=1610862&view=diff
==============================================================================
--- tomee/tomee/trunk/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml (original)
+++ tomee/tomee/trunk/itests/openejb-itests-beans/src/main/resources/META-INF/ejb-jar.xml Tue Jul 15 21:55:09 2014
@@ -1536,7 +1536,7 @@
         <field-name>field1</field-name>
       </cmp-field>
       <primkey-field>id</primkey-field>
-        <!-- suppresses testing -->
+      <!-- suppresses testing -->
       <persistence-context-ref>
         <persistence-context-ref-name>openejb/cmp</persistence-context-ref-name>
         <persistence-unit-name>cmp</persistence-unit-name>
@@ -1557,21 +1557,21 @@
         <field-name>id</field-name>
       </cmp-field>
       <primkey-field>id</primkey-field>
-        <!-- suppresses testing -->
-        <!-- incorrect mapping generated -->
-        <!--
-    <entity name="Order2" class="openejb.org.apache.openejb.test.entity.cmr.cmrmapping.Order2">
-        <description>openejb-itests-beans-4.0.0-SNAPSHOT.jar#OneInverseSideBean</description>
-        <attributes>
-            <id name="id"/>
-            <one-to-many name="manyOwningSide" mapped-by="oneInverseSide"/>
-            <one-to-one name="oneOwningSide" mapped-by="oneInverseSide"/>
-        </attributes>
-    </entity>
-        -->
-        <!-- error message:
-        The type of field "openejb.org.apache.openejb.test.entity.cmr.cmrmapping.Order2.manyOwningSide" isn't supported by declared persistence strategy "OneToMany".  Please choose a different strategy.
-        -->
+      <!-- suppresses testing -->
+      <!-- incorrect mapping generated -->
+      <!--
+  <entity name="Order2" class="openejb.org.apache.openejb.test.entity.cmr.cmrmapping.Order2">
+      <description>openejb-itests-beans-4.0.0-SNAPSHOT.jar#OneInverseSideBean</description>
+      <attributes>
+          <id name="id"/>
+          <one-to-many name="manyOwningSide" mapped-by="oneInverseSide"/>
+          <one-to-one name="oneOwningSide" mapped-by="oneInverseSide"/>
+      </attributes>
+  </entity>
+      -->
+      <!-- error message:
+      The type of field "openejb.org.apache.openejb.test.entity.cmr.cmrmapping.Order2.manyOwningSide" isn't supported by declared persistence strategy "OneToMany".  Please choose a different strategy.
+      -->
       <persistence-context-ref>
         <persistence-context-ref-name>openejb/cmp</persistence-context-ref-name>
         <persistence-unit-name>cmp</persistence-unit-name>
@@ -1605,7 +1605,7 @@
         </query-method>
         <ejb-ql>SELECT m.oneInverseSide FROM Order m WHERE m.id = ?1</ejb-ql>
       </query>
-        <!-- suppresses testing -->
+      <!-- suppresses testing -->
       <persistence-context-ref>
         <persistence-context-ref-name>openejb/cmp</persistence-context-ref-name>
         <persistence-unit-name>cmp</persistence-unit-name>
@@ -1929,8 +1929,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.stateful.FieldInjectionStatefulBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.stateful.FieldInjectionStatefulBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -2185,8 +2185,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.stateful.SetterInjectionStatefulBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.stateful.SetterInjectionStatefulBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -3174,8 +3174,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.stateless.FieldInjectionStatelessBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.stateless.FieldInjectionStatelessBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -3430,8 +3430,9 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -3439,7 +3440,8 @@
         <env-entry-type>java.lang.String</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>striing</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3448,7 +3450,8 @@
         <env-entry-type>java.lang.Double</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>doouble</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3457,7 +3460,8 @@
         <env-entry-type>java.lang.Long</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>loong</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3466,7 +3470,8 @@
         <env-entry-type>java.lang.Float</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>flooat</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3475,7 +3480,8 @@
         <env-entry-type>java.lang.Integer</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>inteeger</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3484,7 +3490,8 @@
         <env-entry-type>java.lang.Short</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>shoort</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3493,7 +3500,8 @@
         <env-entry-type>java.lang.Byte</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>byyte</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3502,7 +3510,8 @@
         <env-entry-type>java.lang.Character</env-entry-type>
         <env-entry-value>D</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>chaaracter</injection-target-name>
         </injection-target>
       </env-entry>
@@ -3513,7 +3522,8 @@
         <remote>org.apache.openejb.test.entity.bmp.BasicBmpObject</remote>
         <ejb-link>BasicBmpBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>bmpHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -3524,7 +3534,8 @@
         <remote>org.apache.openejb.test.stateful.BasicStatefulObject</remote>
         <ejb-link>BasicStatefulBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statefulHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -3535,7 +3546,8 @@
         <remote>org.apache.openejb.test.stateless.BasicStatelessObject</remote>
         <ejb-link>BasicStatelessBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statelessHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -3545,7 +3557,8 @@
         <remote>org.apache.openejb.test.stateless.BasicStatelessBusinessRemote</remote>
         <ejb-link>BasicStatelessPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statelessBusinessRemote</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -3555,7 +3568,8 @@
         <remote>org.apache.openejb.test.stateful.BasicStatefulBusinessRemote</remote>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessRemote</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -3565,7 +3579,8 @@
         <local>org.apache.openejb.test.stateless.BasicStatelessBusinessLocal</local>
         <ejb-link>BasicStatelessPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statelessBusinessLocal</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -3575,7 +3590,8 @@
         <local>org.apache.openejb.test.stateless.BasicStatelessPojoBean</local>
         <ejb-link>BasicStatelessPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statelessBusinessLocalBean</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -3585,7 +3601,8 @@
         <local>org.apache.openejb.test.stateful.BasicStatefulBusinessLocal</local>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessLocal</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -3595,7 +3612,8 @@
         <local>org.apache.openejb.test.stateful.BasicStatefulPojoBean</local>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessLocalBean</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -3604,7 +3622,8 @@
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>daataSource</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -3613,7 +3632,8 @@
         <res-type>javax.jms.ConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>coonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -3622,7 +3642,8 @@
         <res-type>javax.jms.QueueConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>queueCoonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -3631,7 +3652,8 @@
         <res-type>javax.jms.TopicConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>topicCoonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -3639,7 +3661,8 @@
         <resource-env-ref-name>sessioncontext</resource-env-ref-name>
         <resource-env-ref-type>javax.ejb.SessionContext</resource-env-ref-type>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>ejbContext</injection-target-name>
         </injection-target>
       </resource-env-ref>
@@ -3650,7 +3673,8 @@
         <persistence-context-ref-name>persistence/TestContext</persistence-context-ref-name>
         <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>em</injection-target-name>
         </injection-target>
       </persistence-context-ref>
@@ -3661,7 +3685,8 @@
         <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
         <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.stateless.SetterInjectionStatelessBean
+          </injection-target-class>
           <injection-target-name>emf</injection-target-name>
         </injection-target>
       </persistence-unit-ref>
@@ -4976,8 +5001,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.mdb.FieldInjectionMdbBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.mdb.FieldInjectionMdbBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -5217,8 +5242,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.mdb.SetterInjectionMdbBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.mdb.SetterInjectionMdbBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -5515,7 +5540,7 @@
       <local>org.apache.openejb.test.singleton.BasicSingletonLocalObject</local>
       <business-local>org.apache.openejb.test.singleton.BasicSingletonBusinessLocal</business-local>
       <business-remote>org.apache.openejb.test.singleton.BasicSingletonBusinessRemote</business-remote>
-      <local-bean/>  
+      <local-bean/>
       <ejb-class>org.apache.openejb.test.singleton.BasicSingletonPojoBean</ejb-class>
       <session-type>Singleton</session-type>
       <transaction-type>Container</transaction-type>
@@ -5819,8 +5844,8 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.singleton.FieldInjectionSingletonBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.singleton.FieldInjectionSingletonBean</injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -6075,8 +6100,9 @@
         <env-entry-type>java.lang.Boolean</env-entry-type>
         <env-entry-value>true</env-entry-value>
         <injection-target>
-            <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
-            <injection-target-name>booolean</injection-target-name>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
+          <injection-target-name>booolean</injection-target-name>
         </injection-target>
       </env-entry>
       <env-entry>
@@ -6084,7 +6110,8 @@
         <env-entry-type>java.lang.String</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>striing</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6093,7 +6120,8 @@
         <env-entry-type>java.lang.Double</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>doouble</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6102,7 +6130,8 @@
         <env-entry-type>java.lang.Long</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>loong</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6111,7 +6140,8 @@
         <env-entry-type>java.lang.Float</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>flooat</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6120,7 +6150,8 @@
         <env-entry-type>java.lang.Integer</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>inteeger</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6129,7 +6160,8 @@
         <env-entry-type>java.lang.Short</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>shoort</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6138,7 +6170,8 @@
         <env-entry-type>java.lang.Byte</env-entry-type>
         <env-entry-value>1</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>byyte</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6147,7 +6180,8 @@
         <env-entry-type>java.lang.Character</env-entry-type>
         <env-entry-value>D</env-entry-value>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>chaaracter</injection-target-name>
         </injection-target>
       </env-entry>
@@ -6158,7 +6192,8 @@
         <remote>org.apache.openejb.test.entity.bmp.BasicBmpObject</remote>
         <ejb-link>BasicBmpBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>bmpHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -6169,7 +6204,8 @@
         <remote>org.apache.openejb.test.stateful.BasicStatefulObject</remote>
         <ejb-link>BasicStatefulBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>statefulHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -6180,7 +6216,8 @@
         <remote>org.apache.openejb.test.singleton.BasicSingletonObject</remote>
         <ejb-link>BasicSingletonBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>singletonHome</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -6190,7 +6227,8 @@
         <remote>org.apache.openejb.test.singleton.BasicSingletonBusinessRemote</remote>
         <ejb-link>BasicSingletonPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>singletonBusinessRemote</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -6200,7 +6238,8 @@
         <remote>org.apache.openejb.test.stateful.BasicStatefulBusinessRemote</remote>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessRemote</injection-target-name>
         </injection-target>
       </ejb-ref>
@@ -6210,7 +6249,8 @@
         <local>org.apache.openejb.test.singleton.BasicSingletonBusinessLocal</local>
         <ejb-link>BasicSingletonPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>singletonBusinessLocal</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -6220,17 +6260,19 @@
         <local>org.apache.openejb.test.stateful.BasicStatefulBusinessLocal</local>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessLocal</injection-target-name>
         </injection-target>
       </ejb-local-ref>
-        <ejb-local-ref>
+      <ejb-local-ref>
         <ejb-ref-name>singleton/beanReferences/singleton-business-localbean</ejb-ref-name>
         <ejb-ref-type>Session</ejb-ref-type>
         <local>org.apache.openejb.test.singleton.BasicSingletonPojoBean</local>
         <ejb-link>BasicSingletonPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>singletonBusinessLocalBean</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -6240,7 +6282,8 @@
         <local>org.apache.openejb.test.stateful.BasicStatefulPojoBean</local>
         <ejb-link>BasicStatefulPojoBean</ejb-link>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>statefulBusinessLocalBean</injection-target-name>
         </injection-target>
       </ejb-local-ref>
@@ -6249,7 +6292,8 @@
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>daataSource</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -6258,7 +6302,8 @@
         <res-type>javax.jms.ConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>coonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -6267,7 +6312,8 @@
         <res-type>javax.jms.QueueConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>queueCoonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -6276,7 +6322,8 @@
         <res-type>javax.jms.TopicConnectionFactory</res-type>
         <res-auth>Container</res-auth>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>topicCoonnectionFactory</injection-target-name>
         </injection-target>
       </resource-ref>
@@ -6284,7 +6331,8 @@
         <resource-env-ref-name>sessioncontext</resource-env-ref-name>
         <resource-env-ref-type>javax.ejb.SessionContext</resource-env-ref-type>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>ejbContext</injection-target-name>
         </injection-target>
       </resource-env-ref>
@@ -6295,7 +6343,8 @@
         <persistence-context-ref-name>persistence/TestContext</persistence-context-ref-name>
         <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>em</injection-target-name>
         </injection-target>
       </persistence-context-ref>
@@ -6306,7 +6355,8 @@
         <persistence-unit-ref-name>persistence/TestUnit</persistence-unit-ref-name>
         <persistence-unit-name>openjpa-test-unit</persistence-unit-name>
         <injection-target>
-          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean</injection-target-class>
+          <injection-target-class>org.apache.openejb.test.singleton.SetterInjectionSingletonBean
+          </injection-target-class>
           <injection-target-name>emf</injection-target-name>
         </injection-target>
       </persistence-unit-ref>
@@ -6894,8 +6944,8 @@
       </ejb-relationship-role>
     </ejb-relation>
   </relationships>
-  
-  
+
+
   <assembly-descriptor>
     <security-role>
       <description>The description</description>