User: user57
Date: 02/02/12 20:26:40
Modified: src/main/org/jboss/logging Log4jService.java
Log:
o These are all kinda related, so I am commiting them together
o This is the second half of the migration to using ObjectName OBJECT_NAME
o Not using jboss.system.* properties anywhere (one place in testsuite
which I am ignoring for now)
o StateManager will now read its config from a url (configURL), and only
attempt to write it back out if that is a file URL. Need to fix this
to not need to write back to a config file.
o Still setting jboss.home & jboss.system.home, but use ServerConfigMBean
to get the proper bits, will eventually abstract all file access out
o Added a simple locator to find a mbean server. This is trivial code,
but helps clean up client code and makes it obvious what it does.
Revision Changes Path
1.14 +2 -2 jboss/src/main/org/jboss/logging/Log4jService.java
Index: Log4jService.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/logging/Log4jService.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Log4jService.java 3 Jan 2002 04:00:59 -0000 1.13
+++ Log4jService.java 13 Feb 2002 04:26:40 -0000 1.14
@@ -41,7 +41,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>
* @author <a href="mailto:[EMAIL PROTECTED]">David Jencks</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class Log4jService
implements Log4jServiceMBean, MBeanRegistration
@@ -194,7 +194,7 @@
throws Exception
{
start();
- return name == null ? new ObjectName(OBJECT_NAME) : name;
+ return name == null ? OBJECT_NAME : name;
}
public void postRegister(Boolean b)
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development