User: user57
Date: 02/04/03 18:53:14
Modified: src/main/org/jboss/system MBeanClassLoader.java
ServiceLibraries.java UnifiedClassLoader.java
Removed: src/main/org/jboss/system MBeanClassLoaderMBean.java
ServiceLibrariesMBean.java
UnifiedClassLoaderMBean.java
Log:
o Using XDoclet to generate *MBean interfaces
Revision Changes Path
1.2 +3 -1 jboss-system/src/main/org/jboss/system/MBeanClassLoader.java
Index: MBeanClassLoader.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/system/MBeanClassLoader.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MBeanClassLoader.java 24 Feb 2002 10:24:34 -0000 1.1
+++ MBeanClassLoader.java 4 Apr 2002 02:53:14 -0000 1.2
@@ -18,9 +18,11 @@
/**
* The pupose of MBeanCL is to load the classes on behalf of an MBean.
+ *
+ * @jmx:mbean
*
* @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
* <p><b>20010830 marc fleury:</b>
* <ul>
1.4 +18 -21 jboss-system/src/main/org/jboss/system/ServiceLibraries.java
Index: ServiceLibraries.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/system/ServiceLibraries.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ServiceLibraries.java 4 Apr 2002 02:17:22 -0000 1.3
+++ ServiceLibraries.java 4 Apr 2002 02:53:14 -0000 1.4
@@ -34,10 +34,11 @@
* Service Libraries. The service libraries is a central repository of all
* classes loaded by the ClassLoaders
*
- * @see <related>
+ * @jmx:mbean name="jboss.system:service=Libraries"
+ *
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Ole Husgaard</a>
- * @version $Revision: 1.3 $ <p>
+ * @version $Revision: 1.4 $
*
* <p><b>20010830 marc fleury:</b>
* <ul>
@@ -71,14 +72,8 @@
/** Class logger */
private static final Logger log = Logger.getLogger(ServiceLibraries.class);
- // Static --------------------------------------------------------
-
private static ServiceLibraries libraries;
- // Constants -----------------------------------------------------
-
- // Attributes ----------------------------------------------------
-
private long sequenceId = 0;
/**
@@ -131,10 +126,6 @@
private MBeanNotificationInfo[] info;
- // Constructors --------------------------------------------------
-
- // Public --------------------------------------------------------
-
/**
* Gets the Libraries attribute of the ServiceLibraries class
*
@@ -458,10 +449,12 @@
throw new ClassNotFoundException(name);
}
- /** Iterates through the current class loaders and tries to find the
- given class name.
- @return the Class object for name if found, null otherwise.
- */
+ /**
+ * Iterates through the current class loaders and tries to find the
+ * given class name.
+ *
+ * @return the Class object for name if found, null otherwise.
+ */
public Class findClass(String name)
{
Class clazz = null;
@@ -494,8 +487,11 @@
return clazz;
}
- /** Obtain a listing of the URL for all UnifiedClassLoaders associated with
- *the ServiceLibraries
+ /**
+ * Obtain a listing of the URL for all UnifiedClassLoaders associated with
+ * the ServiceLibraries
+ *
+ * @jmx:managed-operation
*/
public URL[] getURLs()
{
@@ -534,10 +530,11 @@
/**
* Pre-register this component.
*
- * @param server The server which the component is registering with.
- * @param name The configured name of the object.
+ * @param server The server which the component is registering with.
+ * @param name The configured name of the object.
+ * @return The name to register the object as.
+ *
* @throws Exception Pre-registration failed
- * @return The name to register the object as.
*/
public ObjectName preRegister(MBeanServer server, ObjectName name)
throws Exception
1.3 +6 -2 jboss-system/src/main/org/jboss/system/UnifiedClassLoader.java
Index: UnifiedClassLoader.java
===================================================================
RCS file:
/cvsroot/jboss/jboss-system/src/main/org/jboss/system/UnifiedClassLoader.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- UnifiedClassLoader.java 19 Mar 2002 22:24:30 -0000 1.2
+++ UnifiedClassLoader.java 4 Apr 2002 02:53:14 -0000 1.3
@@ -21,11 +21,13 @@
* <p>The ServiceLibraries keeps track of the UCL and asks everyone for
* resources and classes.
*
+ * @jmx:mbean
+ *
* @author <a href="[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="[EMAIL PROTECTED]">Christoph G. Jung</a>
* @author <a href="[EMAIL PROTECTED]">Scott Stark/a>
- * @version <tt>$Revision: 1.2 $</tt>
- *
+ * @version <tt>$Revision: 1.3 $</tt>
+ *
* <p><b>20010830 marc fleury:</b>
* <ul>
* <li>Initial import
@@ -126,6 +128,8 @@
/**
* Returns the single URL for this UCL.
+ *
+ * @jmx:managed-operation
*/
public URL getURL() {
return url;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development