[jboss-cvs] JBossAS SVN: r79871 - projects/jboss-man/trunk/managed/src/main/java/org/jboss/managed/api/annotation.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 21 16:12:36 EDT 2008


Author: scott.stark at jboss.org
Date: 2008-10-21 16:12:36 -0400 (Tue, 21 Oct 2008)
New Revision: 79871

Added:
   projects/jboss-man/trunk/managed/src/main/java/org/jboss/managed/api/annotation/ManagementObjectClass.java
Log:
ManagementObjectClass annotation for describing the actual class annotated with org.jboss.managed.api.annotation.ManagementObject.

Added: projects/jboss-man/trunk/managed/src/main/java/org/jboss/managed/api/annotation/ManagementObjectClass.java
===================================================================
--- projects/jboss-man/trunk/managed/src/main/java/org/jboss/managed/api/annotation/ManagementObjectClass.java	                        (rev 0)
+++ projects/jboss-man/trunk/managed/src/main/java/org/jboss/managed/api/annotation/ManagementObjectClass.java	2008-10-21 20:12:36 UTC (rev 79871)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.managed.api.annotation;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * ManagementObjectClass annotation for describing the actual class
+ * annotated with org.jboss.managed.api.annotation.ManagementObject.
+ * 
+ * @see {@linkplain org.jboss.managed.api.annotation.ManagementObject}
+ * 
+ * @author <a href="dimitris at jboss.org">Dimitris Andreadis</a>
+ * @version $Revision: 1.1 $
+ */
+ at Target({ElementType.TYPE})
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface ManagementObjectClass
+{
+   /** The class annotated with ManagementObject */
+   Class<?> code();
+}




More information about the jboss-cvs-commits mailing list