Mercurial > hg > blitz_stable
diff src/org/dancres/blitz/remote/AdminServer.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/org/dancres/blitz/remote/AdminServer.java Sat Mar 21 11:00:06 2009 +0000 @@ -0,0 +1,21 @@ +package org.dancres.blitz.remote; + +import java.rmi.Remote; + +import com.sun.jini.admin.DestroyAdmin; + +import net.jini.admin.JoinAdmin; + +/** + All Admin interfaces are grouped under this interface to make + differentiation between the various remote aspects easier. + Note that although we implement destroyadmin we only shutdown - we do + not delete persistent storage. This allows for remote shutdown which, IMHO, + should be a separate management method. If one wishes to actually destroy + a Blitz instance, one could call this destroy method and then delete the + contents of the persistence and log directories as specified in the + config file. + */ +public interface AdminServer extends Remote, JoinAdmin, StatsAdmin, + BlitzAdmin, DestroyAdmin, EntryViewAdmin { +}