User: chirino
Date: 01/08/31 20:00:59
Modified: src/main/org/jboss/mq/il/rmi RMIServerILService.java
Log:
Fixing compile problems due to migration of classes from jboss.util to jboss.system
Revision Changes Path
1.4 +21 -16 jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILService.java
Index: RMIServerILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILService.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- RMIServerILService.java 2001/08/30 02:35:54 1.3
+++ RMIServerILService.java 2001/09/01 03:00:59 1.4
@@ -1,5 +1,5 @@
/*
- * JBossMQ, the OpenSource JMS implementation
+ * JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
@@ -15,24 +15,23 @@
import org.jboss.mq.il.ServerILJMXService;
import org.jboss.mq.server.JMSServer;
-import org.jboss.system.ServiceMBeanSupport;
-
/**
* Implements the ServerILJMXService which is used to manage the JVM IL.
*
* @author Hiram Chirino ([EMAIL PROTECTED])
- * @created August 16, 2001
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
-public class RMIServerILService extends org.jboss.mq.il.ServerILJMXService
implements RMIServerILServiceMBean {
- RMIServerIL serverIL;
+public class RMIServerILService extends org.jboss.mq.il.ServerILJMXService
implements RMIServerILServiceMBean
+{
+ RMIServerIL serverIL;
/**
* Gives this JMX service a name.
*
* @return The Name value
*/
- public String getName() {
+ public String getName()
+ {
return "JBossMQ-JVMServerIL";
}
@@ -43,7 +42,8 @@
* @return The ServerIL value
* @returns ServerIL the instance of this IL
*/
- public ServerIL getServerIL() {
+ public ServerIL getServerIL()
+ {
return serverIL;
}
@@ -54,9 +54,10 @@
*
* @return The ClientConnectionProperties value
*/
- public java.util.Properties getClientConnectionProperties() {
+ public java.util.Properties getClientConnectionProperties()
+ {
Properties rc = new Properties();
- rc.setProperty( GenericConnectionFactory.CLIENT_IL_SERVICE_KEY,
"org.jboss.mq.il.rmi.RMIClientILService" );
+ rc.setProperty(GenericConnectionFactory.CLIENT_IL_SERVICE_KEY,
"org.jboss.mq.il.rmi.RMIClientILService");
return rc;
}
@@ -65,10 +66,10 @@
*
* @exception Exception Description of Exception
*/
- public void startService()
- throws Exception {
+ public void startService() throws Exception
+ {
- serverIL = new RMIServerIL( lookupJMSServer() );
+ serverIL = new RMIServerIL(lookupJMSServer());
bindJNDIReferences();
}
@@ -76,10 +77,14 @@
/**
* Stops this IL, and unbinds it from JNDI
*/
- public void stopService() {
- try {
+ public void stopService()
+ {
+ try
+ {
unbindJNDIReferences();
- } catch ( Exception e ) {
+ }
+ catch (Exception e)
+ {
e.printStackTrace();
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development