You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ad...@apache.org on 2008/06/29 17:37:41 UTC

svn commit: r672630 - in /geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability: ./ management/

Author: adc
Date: Sun Jun 29 08:37:41 2008
New Revision: 672630

URL: http://svn.apache.org/viewvc?rev=672630&view=rev
Log:
GERONIMO-4168 interfaces, enums, and annotation

Added:
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java   (with props)
    geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java   (with props)

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,29 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public enum ActivationReason {
+
+    START_UP,
+    FAIL_OVER,
+    SWITCH_OVER,
+    UPGRADE
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/ActivationReason.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,31 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+import java.util.concurrent.ExecutorService;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface AvailabilityAgent {
+
+    void init(AvailabilityContainerController container, ExecutorService executor) throws AvailabilityException;
+
+    void terminate() throws AvailabilityException;
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgent.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java Sun Jun 29 08:37:41 2008
@@ -0,0 +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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class AvailabilityAgentFactory {
+
+    private static final Object LOCK = new Object();
+    private static AvailabilityAgent agent;
+
+    public static synchronized AvailabilityAgent instantiateAvailabilityAgent() throws AvailabilityException {
+
+        synchronized (LOCK) {
+
+            if (agent != null) return agent;
+
+            String agentClassName = System.getProperty("javax.availability.management.agent");
+
+            if (agentClassName == null) throw new AvailabilityException("javax.availability.management.agent has not been set");
+
+            try {
+                Class<?> agentClass = Class.forName(agentClassName);
+                agent = (AvailabilityAgent) agentClass.newInstance();
+            } catch (ClassNotFoundException cnfe) {
+                throw new AvailabilityException("Unable to locate class " + agentClassName, cnfe);
+            } catch (InstantiationException ie) {
+                throw new AvailabilityException("Unable to instantiate class " + agentClassName, ie);
+            } catch (IllegalAccessException iae) {
+                throw new AvailabilityException("Unable to access class " + agentClassName, iae);
+            } catch (ClassCastException cce) {
+                throw new AvailabilityException("The class " + agentClassName + " does not implement AvailabilityAgent", cce);
+            }
+
+            return agent;
+        }
+    }
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentFactory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,30 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface AvailabilityAgentService {
+
+    void reportError();
+
+    void enableHealthchecks();
+
+    void disableHealthchecks();
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityAgentService.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,36 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface AvailabilityContainerController extends AvailabilityUnitController {
+
+    void init(String name, AvailabilityAgentService service) throws AvailabilityException;
+
+    void activate(ActivationReason reason) throws AvailabilityException;
+
+    void deactivate(DeactivationReason reason) throws AvailabilityException;
+
+    void terminate() throws AvailabilityException;
+
+    void checkHealth() throws AvailabilityException;
+
+    AvailabilityUnitController instantiateAvailabilityUnit(String name, AvailabilityAgentService service) throws AvailabilityException;
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityContainerController.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,39 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+import java.io.Serializable;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class AvailabilityException extends Exception implements Serializable {
+
+    public AvailabilityException(String message) {
+        super(message);
+    }
+
+    public AvailabilityException(String message, Throwable cause) {
+        super(message, cause);
+    }
+
+    public AvailabilityException(Throwable cause) {
+        super(cause);
+    }
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,32 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface AvailabilityService {
+
+    void reportError();
+
+    ActivationReason getActivationReason();
+
+    DeactivationReason getDeactivationReason();
+
+    String getName();
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityService.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,32 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public interface AvailabilityUnitController {
+
+    void activate(ActivationReason reason) throws AvailabilityException;
+
+    void deactivate(DeactivationReason reason) throws AvailabilityException;
+
+    void terminate() throws AvailabilityException;
+
+    void checkHealth() throws AvailabilityException;
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/AvailabilityUnitController.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,31 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+import java.io.Serializable;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+public enum DeactivationReason implements Serializable, Comparable<DeactivationReason> {
+
+    SHUT_DOWN,
+    SWITCH_OVER,
+    UPGRADE
+}

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/DeactivationReason.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java?rev=672630&view=auto
==============================================================================
--- geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java (added)
+++ geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java Sun Jun 29 08:37:41 2008
@@ -0,0 +1,33 @@
+/**
+ *
+ * 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 javax.availability.management;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+
+/**
+ * @version $Rev$ $Date$
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.METHOD)
+public @interface HealthCheck {
+
+}
\ No newline at end of file

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision Id Author

Propchange: geronimo/specs/trunk/geronimo-availability_0.4_spec/src/main/java/javax/availability/management/HealthCheck.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain