[prev in list] [next in list] [prev in thread] [next in thread]
List: openejb-cvs
Subject: svn commit: r808628 [3/3] - in /openejb/branches/openejb-3.0.x: ./
From: dblevins () apache ! org
Date: 2009-08-27 20:59:13
Message-ID: 20090827205915.479AC2388903 () eris ! apache ! org
[Download RAW message or body]
Modified: openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedFieldInjectionStatefulTestClient.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulLocalTestClient.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoHomeIntfcTests.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateful/AnnotatedSetterInjectionStatefulPojoLocalHomeIntfcTests.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/AnnotatedSetterInjectionStatefulTestClient.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateful/StatefulPojoLocalIntfcTests.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessLocalTestClient.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoHomeIntfcTests.java Thu \
Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedFieldInjectionStatelessTestClient.java \
Thu Aug 27 20:59:11 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessLocalTestClient.java \
Thu Aug 27 20:59:11 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();
+ }
+
+}
+
Modified: openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoHomeIntfcTests.java \
Thu Aug 27 20:59:11 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.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 AnnotatedSetterInjectionStatelessPojoHomeIntfcTests extends \
AnnotatedSetterInjectionStatelessTestClient {
-
- public AnnotatedSetterInjectionStatelessPojoHomeIntfcTests() {
- super("AnnotatedSetterInjectionStatelessHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/stateless/BasicStatelessPojoHome",
- beanInterface=BasicStatelessHome.class)
- public void setEjbHome(BasicStatelessHome 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.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 AnnotatedSetterInjectionStatelessPojoHomeIntfcTests extends \
AnnotatedSetterInjectionStatelessTestClient { +
+ public AnnotatedSetterInjectionStatelessPojoHomeIntfcTests() {
+ super("AnnotatedSetterInjectionStatelessHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/stateless/BasicStatelessPojoHome",
+ beanInterface=BasicStatelessHome.class)
+ public void setEjbHome(BasicStatelessHome 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/or \
g/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apac \
he/openejb/test/stateless/AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests.java \
Thu Aug 27 20:59:11 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.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 AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests extends \
AnnotatedSetterInjectionStatelessLocalTestClient {
-
- public AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests(){
- super("AnnotatedSetterInjectionLocalHomeIntfc.");
- }
-
- protected void setUp() throws Exception{
- super.setUp();
- }
-
- @EJB(name="client/tests/stateless/BasicStatelessPojoHomeLocal",
- beanInterface = BasicStatelessLocalHome.class)
- public void setEjbLocalHome(BasicStatelessLocalHome 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.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 AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests extends \
AnnotatedSetterInjectionStatelessLocalTestClient { +
+ public AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests(){
+ super("AnnotatedSetterInjectionLocalHomeIntfc.");
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ }
+
+ @EJB(name="client/tests/stateless/BasicStatelessPojoHomeLocal",
+ beanInterface = BasicStatelessLocalHome.class)
+ public void setEjbLocalHome(BasicStatelessLocalHome 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/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessTestClient.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/itests/openejb-itests \
-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessTestClient.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessTestClient.java \
(original)
+++ openejb/branches/openejb-3.0.x/itests/openejb-itests-client/src/main/java/org/apache/openejb/test/stateless/AnnotatedSetterInjectionStatelessTestClient.java \
Thu Aug 27 20:59:11 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 AnnotatedSetterInjectionStatelessTestClient extends \
BasicStatelessTestClient {
-
- public AnnotatedSetterInjectionStatelessTestClient(String name) {
- super("AnnotatedSetterInjectionStatelessTestClient." + 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 AnnotatedSetterInjectionStatelessTestClient extends \
BasicStatelessTestClient { +
+ public AnnotatedSetterInjectionStatelessTestClient(String name) {
+ super("AnnotatedSetterInjectionStatelessTestClient." + name);
+ }
+
+ protected void setUp() throws Exception{
+ super.setUp();
+ processSetterInjections();
+ }
+
+}
+
Modified: openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Restart.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/server/openejb-server \
/src/main/java/org/apache/openejb/server/Restart.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Restart.java \
(original)
+++ openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Restart.java \
Thu Aug 27 20:59:11 2009 @@ -14,15 +14,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.openejb.server;
-
-public class Restart {
-
- public static void main(String[] args) throws Exception {
-// System.exit(new Start().start()?0:1);
- new Stop().stop();
- Thread.sleep(1000);
- new Start().start();
-
- }
-}
+package org.apache.openejb.server;
+
+public class Restart {
+
+ public static void main(String[] args) throws Exception {
+// System.exit(new Start().start()?0:1);
+ new Stop().stop();
+ Thread.sleep(1000);
+ new Start().start();
+
+ }
+}
Modified: openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Status.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/server/openejb-server \
/src/main/java/org/apache/openejb/server/Status.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Status.java \
(original)
+++ openejb/branches/openejb-3.0.x/server/openejb-server/src/main/java/org/apache/openejb/server/Status.java \
Thu Aug 27 20:59:11 2009 @@ -14,49 +14,49 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.openejb.server;
-
-import java.io.OutputStream;
-import java.net.Socket;
-
-public class Status {
-
- public static void main(String[] args) {
-// System.exit(new Start().start()?0:1);
- new Status().status();
- }
-
- public boolean status() {
- if (!connect()) {
- System.out.println(":: server is stopped ::");
- return false;
- } else {
- System.out.println(":: server is started ::");
- return true;
- }
- }
-
- private boolean connect() {
- return connect(1);
- }
-
- private boolean connect(int tries) {
- try {
- Socket socket = new Socket("localhost", 4201);
- OutputStream out = socket.getOutputStream();
- } catch (Exception e) {
- if (tries < 2) {
- return false;
- } else {
- try {
- Thread.sleep(2000);
- } catch (Exception e2) {
- e.printStackTrace();
- }
- return connect(--tries);
- }
- }
-
- return true;
- }
-}
+package org.apache.openejb.server;
+
+import java.io.OutputStream;
+import java.net.Socket;
+
+public class Status {
+
+ public static void main(String[] args) {
+// System.exit(new Start().start()?0:1);
+ new Status().status();
+ }
+
+ public boolean status() {
+ if (!connect()) {
+ System.out.println(":: server is stopped ::");
+ return false;
+ } else {
+ System.out.println(":: server is started ::");
+ return true;
+ }
+ }
+
+ private boolean connect() {
+ return connect(1);
+ }
+
+ private boolean connect(int tries) {
+ try {
+ Socket socket = new Socket("localhost", 4201);
+ OutputStream out = socket.getOutputStream();
+ } catch (Exception e) {
+ if (tries < 2) {
+ return false;
+ } else {
+ try {
+ Thread.sleep(2000);
+ } catch (Exception e2) {
+ e.printStackTrace();
+ }
+ return connect(--tries);
+ }
+ }
+
+ return true;
+ }
+}
Modified: openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetOption.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/server/openejb-telnet \
/src/main/java/org/apache/openejb/server/telnet/TelnetOption.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetOption.java \
(original)
+++ openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetOption.java \
Thu Aug 27 20:59:11 2009 @@ -14,57 +14,57 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.openejb.server.telnet;
-
-
-class TelnetOption {
-
- protected int optionCode;
-
- protected boolean supported;
-
- protected boolean enabled;
-
- protected boolean negotiated;
-
- protected boolean inNegotiation;
-
- public TelnetOption(int optionCode) {
- this.optionCode = optionCode;
- }
-
- public int getOptionId() {
- return optionCode;
- }
-
- public boolean isEnabled() {
- return enabled;
- }
-
- public void enable() {
- enabled = true;
- negotiated = true;
- }
-
- public void disable() {
- enabled = false;
- negotiated = true;
- }
-
- public boolean isSupported() {
- return supported;
- }
-
- public boolean hasBeenNegotiated() {
- return negotiated;
- }
-
- public boolean isInNegotiation() {
- return inNegotiation;
- }
-
- public void hasBeenNegotiated(boolean negotiated) {
- this.negotiated = negotiated;
- this.inNegotiation = false;
- }
+package org.apache.openejb.server.telnet;
+
+
+class TelnetOption {
+
+ protected int optionCode;
+
+ protected boolean supported;
+
+ protected boolean enabled;
+
+ protected boolean negotiated;
+
+ protected boolean inNegotiation;
+
+ public TelnetOption(int optionCode) {
+ this.optionCode = optionCode;
+ }
+
+ public int getOptionId() {
+ return optionCode;
+ }
+
+ public boolean isEnabled() {
+ return enabled;
+ }
+
+ public void enable() {
+ enabled = true;
+ negotiated = true;
+ }
+
+ public void disable() {
+ enabled = false;
+ negotiated = true;
+ }
+
+ public boolean isSupported() {
+ return supported;
+ }
+
+ public boolean hasBeenNegotiated() {
+ return negotiated;
+ }
+
+ public boolean isInNegotiation() {
+ return inNegotiation;
+ }
+
+ public void hasBeenNegotiated(boolean negotiated) {
+ this.negotiated = negotiated;
+ this.inNegotiation = false;
+ }
}
\ No newline at end of file
Modified: openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetServer.java
URL: http://svn.apache.org/viewvc/openejb/branches/openejb-3.0.x/server/openejb-telnet \
/src/main/java/org/apache/openejb/server/telnet/TelnetServer.java?rev=808628&r1=808627&r2=808628&view=diff
==============================================================================
--- openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetServer.java \
(original)
+++ openejb/branches/openejb-3.0.x/server/openejb-telnet/src/main/java/org/apache/openejb/server/telnet/TelnetServer.java \
Thu Aug 27 20:59:11 2009 @@ -14,73 +14,73 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.openejb.server.telnet;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.PrintStream;
-import java.net.Socket;
-import java.util.Properties;
-
-import org.apache.openejb.server.ServiceException;
-
-public class TelnetServer implements org.apache.openejb.server.ServerService {
-
-
- public void init(Properties props) throws Exception {
- }
-
- public void service(Socket socket) throws ServiceException, IOException {
- InputStream telnetIn = null;
- PrintStream telnetOut = null;
-
- try {
- InputStream in = socket.getInputStream();
- OutputStream out = socket.getOutputStream();
-
- telnetIn = new TelnetInputStream(in, out);
- telnetOut = new TelnetPrintStream(out);
-
- telnetOut.println("OpenEJB Remote Server Console");
- telnetOut.println("type \'help\' for a list of commands");
-
-
- TextConsole shell = new TextConsole();
- shell.exec(telnetIn, telnetOut);
-
- } catch (Throwable t) {
-
- } finally {
- if (telnetIn != null)
- telnetIn.close();
- if (telnetOut != null)
- telnetOut.close();
- if (socket != null) socket.close();
-
- }
- }
-
- public void service(InputStream in, OutputStream out) throws ServiceException, \
IOException {
- throw new UnsupportedOperationException("Method not implemented: \
service(InputStream in, OutputStream out)");
- }
-
- public void start() throws ServiceException {
- }
-
- public void stop() throws ServiceException {
- }
-
- public String getName() {
- return "telnet";
- }
-
- public int getPort() {
- return 0;
- }
-
- public String getIP() {
- return "";
- }
-
-}
+package org.apache.openejb.server.telnet;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.PrintStream;
+import java.net.Socket;
+import java.util.Properties;
+
+import org.apache.openejb.server.ServiceException;
+
+public class TelnetServer implements org.apache.openejb.server.ServerService {
+
+
+ public void init(Properties props) throws Exception {
+ }
+
+ public void service(Socket socket) throws ServiceException, IOException {
+ InputStream telnetIn = null;
+ PrintStream telnetOut = null;
+
+ try {
+ InputStream in = socket.getInputStream();
+ OutputStream out = socket.getOutputStream();
+
+ telnetIn = new TelnetInputStream(in, out);
+ telnetOut = new TelnetPrintStream(out);
+
+ telnetOut.println("OpenEJB Remote Server Console");
+ telnetOut.println("type \'help\' for a list of commands");
+
+
+ TextConsole shell = new TextConsole();
+ shell.exec(telnetIn, telnetOut);
+
+ } catch (Throwable t) {
+
+ } finally {
+ if (telnetIn != null)
+ telnetIn.close();
+ if (telnetOut != null)
+ telnetOut.close();
+ if (socket != null) socket.close();
+
+ }
+ }
+
+ public void service(InputStream in, OutputStream out) throws ServiceException, \
IOException { + throw new UnsupportedOperationException("Method not \
implemented: service(InputStream in, OutputStream out)"); + }
+
+ public void start() throws ServiceException {
+ }
+
+ public void stop() throws ServiceException {
+ }
+
+ public String getName() {
+ return "telnet";
+ }
+
+ public int getPort() {
+ return 0;
+ }
+
+ public String getIP() {
+ return "";
+ }
+
+}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic