You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2009/08/27 05:42:11 UTC
svn commit: r808273 [4/5] - in /openejb/trunk/openejb3:
container/openejb-core/src/main/java/org/apache/openejb/config/
container/openejb-core/src/main/java/org/apache/openejb/config/rules/
container/openejb-core/src/main/java/org/apache/openejb/core/e...
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedFieldInjectionSingletonTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedFieldInjectionSingletonTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedFieldInjectionSingletonTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedFieldInjectionSingletonTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.singleton;
-
-/**
- * [2] Should be run as the second test suite of the BasicSingletonTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
- */
-public abstract class AnnotatedFieldInjectionSingletonTestClient extends BasicSingletonTestClient {
-
- public AnnotatedFieldInjectionSingletonTestClient(String name) {
- super("AnnotatedFieldInjectionSingletonTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processFieldInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.singleton;
+
+/**
+ * [2] Should be run as the second test suite of the BasicSingletonTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
+ */
+public abstract class AnnotatedFieldInjectionSingletonTestClient extends BasicSingletonTestClient {
+
+ public AnnotatedFieldInjectionSingletonTestClient(String name) {
+ super("AnnotatedFieldInjectionSingletonTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processFieldInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonLocalTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonLocalTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonLocalTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.singleton;
-
-/**
- * [2] Should be run as the second test suite of the BasicSingletonTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
- */
-public abstract class AnnotatedSetterInjectionSingletonLocalTestClient extends BasicSingletonLocalTestClient {
-
- public AnnotatedSetterInjectionSingletonLocalTestClient(String name) {
- super("AnnotatedSetterInjectionSingletonLocalTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processSetterInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.singleton;
+
+/**
+ * [2] Should be run as the second test suite of the BasicSingletonTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
+ */
+public abstract class AnnotatedSetterInjectionSingletonLocalTestClient extends BasicSingletonLocalTestClient {
+
+ public AnnotatedSetterInjectionSingletonLocalTestClient(String name) {
+ super("AnnotatedSetterInjectionSingletonLocalTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,63 +1,63 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.singleton;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicSingletonTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
- */
-public class AnnotatedSetterInjectionSingletonPojoHomeIntfcTests extends AnnotatedSetterInjectionSingletonTestClient {
-
- public AnnotatedSetterInjectionSingletonPojoHomeIntfcTests() {
- super("AnnotatedSetterInjectionSingletonHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/singleton/BasicSingletonPojoHome",
- beanInterface=BasicSingletonHome.class)
- public void setEjbHome(BasicSingletonHome bsEjbHome) {
- ejbHome = bsEjbHome;
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbObject = ejbHome.createObject();
- assertNotNull( "The EJBObject is null", ejbObject );
- } catch (Exception e){
- fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.singleton;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicSingletonTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
+ */
+public class AnnotatedSetterInjectionSingletonPojoHomeIntfcTests extends AnnotatedSetterInjectionSingletonTestClient {
+
+ public AnnotatedSetterInjectionSingletonPojoHomeIntfcTests() {
+ super("AnnotatedSetterInjectionSingletonHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/singleton/BasicSingletonPojoHome",
+ beanInterface=BasicSingletonHome.class)
+ public void setEjbHome(BasicSingletonHome bsEjbHome) {
+ ejbHome = bsEjbHome;
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbObject = ejbHome.createObject();
+ assertNotNull( "The EJBObject is null", ejbObject );
+ } catch (Exception e){
+ fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,63 +1,63 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.singleton;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicSingletonTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
- */
-public class AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests extends AnnotatedSetterInjectionSingletonLocalTestClient {
-
- public AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests(){
- super("AnnotatedSetterInjectionLocalHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/singleton/BasicSingletonPojoHomeLocal",
- beanInterface = BasicSingletonLocalHome.class)
- public void setEjbLocalHome(BasicSingletonLocalHome bslEjbHome) {
- ejbLocalHome = bslEjbHome;
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbLocalObject = ejbLocalHome.create();
- assertNotNull( "The EJBObject is null", ejbLocalObject );
- } catch (Exception e){
- fail("Received Exception " + e.getClass() + " : " + e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.singleton;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicSingletonTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
+ */
+public class AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests extends AnnotatedSetterInjectionSingletonLocalTestClient {
+
+ public AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests(){
+ super("AnnotatedSetterInjectionLocalHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/singleton/BasicSingletonPojoHomeLocal",
+ beanInterface = BasicSingletonLocalHome.class)
+ public void setEjbLocalHome(BasicSingletonLocalHome bslEjbHome) {
+ ejbLocalHome = bslEjbHome;
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbLocalObject = ejbLocalHome.create();
+ assertNotNull( "The EJBObject is null", ejbLocalObject );
+ } catch (Exception e){
+ fail("Received Exception " + e.getClass() + " : " + e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/singleton/AnnotatedSetterInjectionSingletonTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.singleton;
-
-/**
- * [2] Should be run as the second test suite of the BasicSingletonTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
- */
-public abstract class AnnotatedSetterInjectionSingletonTestClient extends BasicSingletonTestClient {
-
- public AnnotatedSetterInjectionSingletonTestClient(String name) {
- super("AnnotatedSetterInjectionSingletonTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processSetterInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.singleton;
+
+/**
+ * [2] Should be run as the second test suite of the BasicSingletonTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev: 607077 $ $Date: 2007-12-27 06:55:23 -0800 (Thu, 27 Dec 2007) $
+ */
+public abstract class AnnotatedSetterInjectionSingletonTestClient extends BasicSingletonTestClient {
+
+ public AnnotatedSetterInjectionSingletonTestClient(String name) {
+ super("AnnotatedSetterInjectionSingletonTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulLocalTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulLocalTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulLocalTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedFieldInjectionStatefulLocalTestClient extends BasicStatefulLocalTestClient {
-
- public AnnotatedFieldInjectionStatefulLocalTestClient(String name) {
- super("AnnotatedFieldInjectionStatefulLocalTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processFieldInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedFieldInjectionStatefulLocalTestClient extends BasicStatefulLocalTestClient {
+
+ public AnnotatedFieldInjectionStatefulLocalTestClient(String name) {
+ super("AnnotatedFieldInjectionStatefulLocalTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processFieldInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,54 +1,54 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedFieldInjectionStatefulPojoHomeIntfcTests extends AnnotatedFieldInjectionStatefulTestClient {
-
- public AnnotatedFieldInjectionStatefulPojoHomeIntfcTests() {
- super("AnnotatedFieldInjectionStatefulHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbObject = ejbHome.createObject("BasicStatefulObject");
- assertNotNull( "The EJBObject is null", ejbObject );
- } catch (Exception e){
- fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedFieldInjectionStatefulPojoHomeIntfcTests extends AnnotatedFieldInjectionStatefulTestClient {
+
+ public AnnotatedFieldInjectionStatefulPojoHomeIntfcTests() {
+ super("AnnotatedFieldInjectionStatefulHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbObject = ejbHome.createObject("BasicStatefulObject");
+ assertNotNull( "The EJBObject is null", ejbObject );
+ } catch (Exception e){
+ fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,54 +1,54 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests extends AnnotatedFieldInjectionStatefulLocalTestClient {
-
- public AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests(){
- super("AnnotatedFieldInjectionStatefulLocalHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbLocalObject = ejbLocalHome.create("BasicStatefulLocalObject");
- assertNotNull( "The EJBObject is null", ejbLocalObject );
- } catch (Exception e){
- fail("Received Exception " + e.getClass() + " : " + e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests extends AnnotatedFieldInjectionStatefulLocalTestClient {
+
+ public AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests(){
+ super("AnnotatedFieldInjectionStatefulLocalHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbLocalObject = ejbLocalHome.create("BasicStatefulLocalObject");
+ assertNotNull( "The EJBObject is null", ejbLocalObject );
+ } catch (Exception e){
+ fail("Received Exception " + e.getClass() + " : " + e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedFieldInjectionStatefulTestClient extends BasicStatefulTestClient {
-
- public AnnotatedFieldInjectionStatefulTestClient(String name) {
- super("AnnotatedFieldInjectionStatefulTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processFieldInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedFieldInjectionStatefulTestClient extends BasicStatefulTestClient {
+
+ public AnnotatedFieldInjectionStatefulTestClient(String name) {
+ super("AnnotatedFieldInjectionStatefulTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processFieldInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedSetterInjectionStatefulLocalTestClient extends BasicStatefulLocalTestClient {
-
- public AnnotatedSetterInjectionStatefulLocalTestClient(String name) {
- super("AnnotatedSetterInjectionStatefulLocalTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processSetterInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedSetterInjectionStatefulLocalTestClient extends BasicStatefulLocalTestClient {
+
+ public AnnotatedSetterInjectionStatefulLocalTestClient(String name) {
+ super("AnnotatedSetterInjectionStatefulLocalTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,63 +1,63 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedSetterInjectionStatefulPojoHomeIntfcTests extends AnnotatedSetterInjectionStatefulTestClient {
-
- public AnnotatedSetterInjectionStatefulPojoHomeIntfcTests() {
- super("AnnotatedSetterInjectionStatefulHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/stateful/BasicStatefulPojoHome",
- beanInterface=BasicStatefulHome.class)
- public void setEjbHome(BasicStatefulHome bsEjbHome) {
- ejbHome = bsEjbHome;
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbObject = ejbHome.createObject("BasicStatefulObject");
- assertNotNull( "The EJBObject is null", ejbObject );
- } catch (Exception e){
- fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedSetterInjectionStatefulPojoHomeIntfcTests extends AnnotatedSetterInjectionStatefulTestClient {
+
+ public AnnotatedSetterInjectionStatefulPojoHomeIntfcTests() {
+ super("AnnotatedSetterInjectionStatefulHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/stateful/BasicStatefulPojoHome",
+ beanInterface=BasicStatefulHome.class)
+ public void setEjbHome(BasicStatefulHome bsEjbHome) {
+ ejbHome = bsEjbHome;
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbObject = ejbHome.createObject("BasicStatefulObject");
+ assertNotNull( "The EJBObject is null", ejbObject );
+ } catch (Exception e){
+ fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,63 +1,63 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests extends AnnotatedSetterInjectionStatefulLocalTestClient {
-
- public AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests(){
- super("AnnotatedSetterInjectionStatefulLocalHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/stateful/BasicStatefulPojoHomeLocal",
- beanInterface = BasicStatefulLocalHome.class)
- public void setEjbLocalHome(BasicStatefulLocalHome bslEjbHome) {
- ejbLocalHome = bslEjbHome;
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbLocalObject = ejbLocalHome.create("BasicStatefulLocalObject");
- assertNotNull( "The EJBObject is null", ejbLocalObject );
- } catch (Exception e){
- fail("Received Exception " + e.getClass() + " : " + e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests extends AnnotatedSetterInjectionStatefulLocalTestClient {
+
+ public AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests(){
+ super("AnnotatedSetterInjectionStatefulLocalHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/stateful/BasicStatefulPojoHomeLocal",
+ beanInterface = BasicStatefulLocalHome.class)
+ public void setEjbLocalHome(BasicStatefulLocalHome bslEjbHome) {
+ ejbLocalHome = bslEjbHome;
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbLocalObject = ejbLocalHome.create("BasicStatefulLocalObject");
+ assertNotNull( "The EJBObject is null", ejbLocalObject );
+ } catch (Exception e){
+ fail("Received Exception " + e.getClass() + " : " + e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedSetterInjectionStatefulTestClient extends BasicStatefulTestClient {
-
- public AnnotatedSetterInjectionStatefulTestClient(String name) {
- super("AnnotatedSetterInjectionStatefulTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processSetterInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedSetterInjectionStatefulTestClient extends BasicStatefulTestClient {
+
+ public AnnotatedSetterInjectionStatefulTestClient(String name) {
+ super("AnnotatedSetterInjectionStatefulTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,52 +1,52 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateful;
-
-
-/**
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:manu.t.george@gmail.com">Manu Theruvilpallil George</a>
- */
-public class StatefulPojoLocalIntfcTests extends BasicStatefulLocalTestClient {
-
- public StatefulPojoLocalIntfcTests(){
- super("PojoLocalIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- ejbLocalHome = (BasicStatefulLocalHome) initialContext.lookup("client/tests/stateful/BasicStatefulPojoHomeLocal");
- ejbLocalObject = ejbLocalHome.create("Third Bean");
- }
-
-
- //
- // Test local interface methods of ejb3 stateful bean
- //===============================
- public void test01_isIdentical(){
- try{
- String str = ejbLocalObject.businessMethod("Hello");
- assertTrue( "The Strings are not equal", str.equals("olleH") );
- } catch (Exception e){
- fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
- }
- }
-
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateful;
+
+
+/**
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:manu.t.george@gmail.com">Manu Theruvilpallil George</a>
+ */
+public class StatefulPojoLocalIntfcTests extends BasicStatefulLocalTestClient {
+
+ public StatefulPojoLocalIntfcTests(){
+ super("PojoLocalIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ ejbLocalHome = (BasicStatefulLocalHome) initialContext.lookup("client/tests/stateful/BasicStatefulPojoHomeLocal");
+ ejbLocalObject = ejbLocalHome.create("Third Bean");
+ }
+
+
+ //
+ // Test local interface methods of ejb3 stateful bean
+ //===============================
+ public void test01_isIdentical(){
+ try{
+ String str = ejbLocalObject.businessMethod("Hello");
+ assertTrue( "The Strings are not equal", str.equals("olleH") );
+ } catch (Exception e){
+ fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+ }
+ }
+
+
+}
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateless;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedFieldInjectionStatelessLocalTestClient extends BasicStatelessLocalTestClient {
-
- public AnnotatedFieldInjectionStatelessLocalTestClient(String name) {
- super("AnnotatedFieldInjectionStatelessLocalTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processFieldInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateless;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedFieldInjectionStatelessLocalTestClient extends BasicStatelessLocalTestClient {
+
+ public AnnotatedFieldInjectionStatelessLocalTestClient(String name) {
+ super("AnnotatedFieldInjectionStatelessLocalTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processFieldInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,57 +1,57 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateless;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedFieldInjectionStatelessPojoHomeIntfcTests extends AnnotatedFieldInjectionStatelessTestClient {
-
- public AnnotatedFieldInjectionStatelessPojoHomeIntfcTests() {
- super("AnnotatedFieldInjectionStatelessHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbObject = ejbHome.createObject();
- assertNotNull( "The EJBObject is null", ejbObject );
- } catch (Exception e){
- fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateless;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedFieldInjectionStatelessPojoHomeIntfcTests extends AnnotatedFieldInjectionStatelessTestClient {
+
+ public AnnotatedFieldInjectionStatelessPojoHomeIntfcTests() {
+ super("AnnotatedFieldInjectionStatelessHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbObject = ejbHome.createObject();
+ assertNotNull( "The EJBObject is null", ejbObject );
+ } catch (Exception e){
+ fail("Received Exception "+e.getClass()+ " : "+e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java Thu Aug 27 03:42:06 2009
@@ -1,57 +1,57 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateless;
-
-import javax.ejb.EJB;
-
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public class AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests extends AnnotatedFieldInjectionStatelessLocalTestClient {
-
- public AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests(){
- super("AnnotatedFieldInjectionStatelessLocalHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- //===============================
- // Test home interface methods
- //
- public void test01_create(){
- try{
- ejbLocalObject = ejbLocalHome.create();
- assertNotNull( "The EJBObject is null", ejbLocalObject );
- } catch (Exception e){
- fail("Received Exception " + e.getClass() + " : " + e.getMessage());
- }
- }
- //
- // Test home interface methods
- //===============================
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateless;
+
+import javax.ejb.EJB;
+
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public class AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests extends AnnotatedFieldInjectionStatelessLocalTestClient {
+
+ public AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests(){
+ super("AnnotatedFieldInjectionStatelessLocalHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ //===============================
+ // Test home interface methods
+ //
+ public void test01_create(){
+ try{
+ ejbLocalObject = ejbLocalHome.create();
+ assertNotNull( "The EJBObject is null", ejbLocalObject );
+ } catch (Exception e){
+ fail("Received Exception " + e.getClass() + " : " + e.getMessage());
+ }
+ }
+ //
+ // Test home interface methods
+ //===============================
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateless;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedFieldInjectionStatelessTestClient extends BasicStatelessTestClient {
-
- public AnnotatedFieldInjectionStatelessTestClient(String name) {
- super("AnnotatedFieldInjectionStatelessTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processFieldInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateless;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedFieldInjectionStatelessTestClient extends BasicStatelessTestClient {
+
+ public AnnotatedFieldInjectionStatelessTestClient(String name) {
+ super("AnnotatedFieldInjectionStatelessTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processFieldInjections();
+ }
+
+}
+
Modified: openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java?rev=808273&r1=808272&r2=808273&view=diff
==============================================================================
--- openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java (original)
+++ openejb/trunk/openejb3/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java Thu Aug 27 03:42:06 2009
@@ -1,40 +1,40 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.openejb.test.stateless;
-
-/**
- * [2] Should be run as the second test suite of the BasicStatelessTestClients
- *
- * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
- * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
- * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
- *
- * @version $Rev$ $Date$
- */
-public abstract class AnnotatedSetterInjectionStatelessLocalTestClient extends BasicStatelessLocalTestClient {
-
- public AnnotatedSetterInjectionStatelessLocalTestClient(String name) {
- super("AnnotatedSetterInjectionStatelessLocalTestClient." + name);
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- processSetterInjections();
- }
-
-}
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.openejb.test.stateless;
+
+/**
+ * [2] Should be run as the second test suite of the BasicStatelessTestClients
+ *
+ * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
+ * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
+ * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
+ *
+ * @version $Rev$ $Date$
+ */
+public abstract class AnnotatedSetterInjectionStatelessLocalTestClient extends BasicStatelessLocalTestClient {
+
+ public AnnotatedSetterInjectionStatelessLocalTestClient(String name) {
+ super("AnnotatedSetterInjectionStatelessLocalTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+