User: pkendall
Date: 01/07/29 16:33:24
Modified: src/main/org/jbossmq/il/jvm JVMServerILService.java
Log:
bugfixes, null pointer exception becuase JMSServer is transient and not serializable.
Revision Changes Path
1.4 +3 -4 jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java
Index: JVMServerILService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmq/src/main/org/jbossmq/il/jvm/JVMServerILService.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- JVMServerILService.java 2001/07/28 16:11:36 1.3
+++ JVMServerILService.java 2001/07/29 23:33:24 1.4
@@ -22,11 +22,10 @@
* manage the JVM IL.
*
* @author Hiram Chirino ([EMAIL PROTECTED])
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class JVMServerILService extends ServerILJMXService implements
JVMServerILServiceMBean {
- JVMServerIL serverIL;
/**
* Gives this JMX service a name.
@@ -40,7 +39,7 @@
* @returns ServerIL the instance of this IL
*/
public ServerIL getServerIL() {
- return serverIL;
+ return null;
}
/**
@@ -48,7 +47,6 @@
*/
public void startService() throws Exception {
- serverIL= new JVMServerIL(lookupJMSServer());
bindJNDIReferences();
}
@@ -72,6 +70,7 @@
public java.util.Properties getClientConnectionProperties() {
Properties rc= new Properties();
rc.setProperty(GenericConnectionFactory.CLIENT_IL_SERVICE_KEY,
"org.jbossmq.il.jvm.JVMClientILService");
+ rc.setProperty(GenericConnectionFactory.SERVER_IL_FACTORY_KEY,
"org.jbossmq.il.jvm.JVMServerILFactory");
return rc;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development