User: d_jencks
Date: 01/11/11 22:36:49
Modified: src/main/org/jboss/ha/hasessionstate/server
HASessionStateService.java
Log:
Changes to move toward eliminating init and destroy from Service interface, and make
J2eeDeployer use mbean-refs.
Revision Changes Path
1.2 +4 -7
jbossmx/src/main/org/jboss/ha/hasessionstate/server/HASessionStateService.java
Index: HASessionStateService.java
===================================================================
RCS file:
/cvsroot/jboss/jbossmx/src/main/org/jboss/ha/hasessionstate/server/HASessionStateService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HASessionStateService.java 2001/11/09 22:49:55 1.1
+++ HASessionStateService.java 2001/11/12 06:36:49 1.2
@@ -23,7 +23,7 @@
*
* @see HASessionState
* @author [EMAIL PROTECTED]
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
* <p><b>Revisions:</b><br>
*/
@@ -143,19 +143,16 @@
// ******************************************************************
- public void initService () throws Exception
+
+ protected void startService () throws Exception
{
this.sessionState = new HASessionStateImpl (this.jndiName,
this.subPartitionProps, this.haPartitionName, this.topologyComputerClass,
this.subPartitionSize,
this.subPartitionCreationWaitTime, this.beanCleaningDelay);
this.sessionState.init ();
- }
-
- public void startService () throws Exception
- {
this.sessionState.start ();
}
- public void stopService ()
+ protected void stopService ()
{
try
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development