donaldp 2002/09/06 04:35:10 Modified: src/java/org/apache/avalon/phoenix/components/manager MBeanInfoBuilder.java Log: Turn some <code> sections into {@link} sections Revision Changes Path 1.4 +11 -7 jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/MBeanInfoBuilder.java Index: MBeanInfoBuilder.java =================================================================== RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/manager/MBeanInfoBuilder.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- MBeanInfoBuilder.java 6 Aug 2002 11:57:40 -0000 1.3 +++ MBeanInfoBuilder.java 6 Sep 2002 11:35:10 -0000 1.4 @@ -21,6 +21,7 @@ import javax.management.modelmbean.ModelMBeanInfoSupport; import javax.management.modelmbean.ModelMBeanNotificationInfo; import javax.management.modelmbean.ModelMBeanOperationInfo; +import javax.management.modelmbean.RequiredModelMBean; import org.apache.avalon.excalibur.i18n.ResourceManager; import org.apache.avalon.excalibur.i18n.Resources; import org.apache.avalon.framework.configuration.Configuration; @@ -30,7 +31,7 @@ import org.xml.sax.InputSource; /** - * An MBeanInfoBuilder is responsible for building <code>ManagementTopic</code> + * An MBeanInfoBuilder is responsible for building Management Topic * objects from Configuration objects. The format for Configuration object * is specified in the MxInfo specification. The information is loaded into * the Target structure. @@ -39,11 +40,13 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Huw Roberts</a> * @version $Revision$ $Date$ */ -public final class MBeanInfoBuilder extends AbstractLogEnabled +public final class MBeanInfoBuilder + extends AbstractLogEnabled { private static final Resources REZ = ResourceManager.getPackageResources( MBeanInfoBuilder.class ); - private static final String REQ_MODEL_MBEAN = "javax.management.modelmbean.RequiredModelMBean"; + private static final String REQ_MODEL_MBEAN = + RequiredModelMBean.class.getName(); public void build( final Target target, final Class managedClass, @@ -60,7 +63,8 @@ if( null != config ) { final String message = - REZ.getString( "mxinfo.debug.found.mxinfo", managedClass.getName() ); + REZ.getString( "mxinfo.debug.found.mxinfo", + managedClass.getName() ); getLogger().debug( message ); buildFromMxInfo( target, managedClass, config ); } @@ -92,7 +96,7 @@ } /** - * Create a <code>ModelMBeanInfoSupport</code> object for specified classname from + * Create a {@link ModelMBeanInfoSupport} object for specified classname from * specified configuration data. */ private void buildFromMxInfo( final Target target, @@ -204,7 +208,7 @@ } /** - * A utility method to build a <code>ModelMBeanInfoSupport</code> + * A utility method to build a {@link ModelMBeanInfoSupport} * object from specified configuration and BeanInfo. * * @return the created ModelMBeanInfoSupport
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>