geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r416192 - in /geronimo/sandbox/gshell/trunk: gshell-server/gshell-server-core/pom.xml gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java pom.xml
Date Thu, 22 Jun 2006 01:21:06 GMT
Author: jdillon
Date: Wed Jun 21 18:21:05 2006
New Revision: 416192

URL: http://svn.apache.org/viewvc?rev=416192&view=rev
Log:
Skeleton for the shell server gbean

Added:
    geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
  (with props)
Modified:
    geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-core/pom.xml
    geronimo/sandbox/gshell/trunk/pom.xml

Modified: geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-core/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-core/pom.xml?rev=416192&r1=416191&r2=416192&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-core/pom.xml (original)
+++ geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-core/pom.xml Wed Jun 21 18:21:05
2006
@@ -26,6 +26,11 @@
             <artifactId>gshell-core</artifactId>
             <version>${pom.version}</version>
         </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo</groupId>
+            <artifactId>geronimo-kernel</artifactId>
+        </dependency>
     </dependencies>
     
 </project>

Added: geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java?rev=416192&view=auto
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
(added)
+++ geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
Wed Jun 21 18:21:05 2006
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2006 The Apache Software Foundation
+ *
+ * Licensed 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.geronimo.gshell.server.gbean;
+
+import org.apache.geronimo.gbean.GBeanInfo;
+import org.apache.geronimo.gbean.GBeanInfoBuilder;
+import org.apache.geronimo.gbean.GBeanLifecycle;
+
+import org.apache.commons.logging.LogFactory;
+import org.apache.commons.logging.Log;
+
+/**
+ * Shell server GBean.
+ *
+ * @version $Id$
+ */
+public class ShellServerGBean
+    implements GBeanLifecycle
+{
+    private static final Log log = LogFactory.getLog(ShellServerGBean.class);
+
+    //
+    // GBeanLifecycle
+    //
+
+    public void doStart() throws Exception {
+        //
+        // TODO:
+        //
+    }
+
+    public void doStop() throws Exception {
+        //
+        // TODO:
+        //
+    }
+
+    public void doFail() {
+        //
+        // TODO:
+        //
+    }
+
+    //
+    // GBeanInfo
+    //
+
+    public static final GBeanInfo GBEAN_INFO;
+
+    static {
+        GBeanInfoBuilder infoFactory = new GBeanInfoBuilder("ShellServerGBean", ShellServerGBean.class);
+
+        GBEAN_INFO = infoFactory.getBeanInfo();
+    }
+
+    public static GBeanInfo getGBeanInfo() {
+        return GBEAN_INFO;
+    }
+}

Propchange: geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/gshell/trunk/gshell-server/gshell-server-gbean/src/main/java/org/apache/geronimo/gshell/server/gbean/ShellServerGBean.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/sandbox/gshell/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/pom.xml?rev=416192&r1=416191&r2=416192&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/pom.xml (original)
+++ geronimo/sandbox/gshell/trunk/pom.xml Wed Jun 21 18:21:05 2006
@@ -200,6 +200,14 @@
                 <scope>compile</scope>
             </dependency>
 
+            <dependency>
+                <groupId>org.apache.geronimo</groupId>
+                <artifactId>geronimo-kernel</artifactId>
+                <version>1.0</version>
+                <type>jar</type>
+                <scope>compile</scope>
+            </dependency>
+
             <!--
 
             NOTE: May want to enhance xbean-telnet to behave like nvt4j and be more extendable
than nvt4j



Mime
View raw message