User: d_jencks
Date: 01/11/11 22:36:50
Modified: src/main/org/jboss/security/srp SRPService.java
SRPVerifierStoreService.java
Log:
Changes to move toward eliminating init and destroy from Service interface, and make
J2eeDeployer use mbean-refs.
Revision Changes Path
1.4 +2 -5 jbosssx/src/main/org/jboss/security/srp/SRPService.java
Index: SRPService.java
===================================================================
RCS file: /cvsroot/jboss/jbosssx/src/main/org/jboss/security/srp/SRPService.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SRPService.java 2001/08/30 02:59:30 1.3
+++ SRPService.java 2001/11/12 06:36:50 1.4
@@ -26,7 +26,7 @@
system described in RFC2945.
@author [EMAIL PROTECTED]
-@version $Revision: 1.3 $
+@version $Revision: 1.4 $
*/
public class SRPService extends ServiceMBeanSupport implements SRPServiceMBean,
SRPServerListener
{
@@ -117,10 +117,7 @@
return "SRPService";
}
- public void initService() throws Exception
- {
- }
-
+
public void startService() throws Exception
{
loadStore();
1.4 +2 -5
jbosssx/src/main/org/jboss/security/srp/SRPVerifierStoreService.java
Index: SRPVerifierStoreService.java
===================================================================
RCS file:
/cvsroot/jboss/jbosssx/src/main/org/jboss/security/srp/SRPVerifierStoreService.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SRPVerifierStoreService.java 2001/08/30 02:59:30 1.3
+++ SRPVerifierStoreService.java 2001/11/12 06:36:50 1.4
@@ -29,7 +29,7 @@
@see org.jboss.security.srp.SerialObjectStore
@author [EMAIL PROTECTED]
-@version $Revision: 1.3 $
+@version $Revision: 1.4 $
*/
public class SRPVerifierStoreService extends ServiceMBeanSupport implements
SRPVerifierStoreServiceMBean
{
@@ -87,11 +87,8 @@
return "SRPVerifierStoreService";
}
- public void initService() throws Exception
- {
- }
- public void startService() throws Exception
+ protected void startService() throws Exception
{
File storeFile = new File(fileName);
store = new SerialObjectStore(storeFile);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development