jaugment2.jini.simpleService
Class VerySimpleService
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--jaugment2.jini.simpleService.simpleService
|
+--jaugment2.jini.simpleService.VerySimpleService
- public abstract class VerySimpleService
- extends simpleService
A class making service-creation even easier than with simpleService
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.UnicastRemoteObject |
csf,
port,
portFactoryParamTypes,
portParamTypes,
serialVersionUID,
ssf |
| Fields inherited from class java.rmi.server.RemoteServer |
log,
logname,
serialVersionUID |
| Fields inherited from class java.rmi.server.RemoteObject |
ref,
serialVersionUID |
|
Method Summary |
private java.lang.String |
class2String(java.lang.Class c)
|
private void |
createDir(java.io.File f)
|
void |
destroy()
stop this service, destroy any persistent storage and exit |
abstract java.lang.String |
getComment()
|
abstract java.lang.String |
getCreator()
|
abstract net.jini.lookup.entry.UIDescriptor |
getUIDescriptor()
|
void |
init(java.lang.Object This,
java.lang.Class proxyIf)
create a proxy should one not exist and do everything automagically
(unfinished) |
private void |
loadMe(java.lang.Class thisclass)
Load our state (e.g. |
void |
restart()
restart this service once it has been stopped |
void |
stop(boolean exit)
stop this service. |
| Methods inherited from class jaugment2.jini.simpleService.simpleService |
,
deinit,
deinitBindings,
finalize,
getProxy,
getServiceItem,
getStorageLocation,
init,
initBindings,
initBindings,
load,
save,
setStorageLocation |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone,
exportObject,
exportObject,
exportObject,
exportObject,
readObject,
reexport,
unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost,
getLog,
setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals,
getRef,
hashCode,
toString,
toStub,
writeObject |
| Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
doSSL
private static final boolean doSSL
verysimpleservicedebugmessages
private static final boolean verysimpleservicedebugmessages
proxy
public java.lang.Object proxy
VerySimpleService
public VerySimpleService()
throws java.rmi.RemoteException
loadMe
private void loadMe(java.lang.Class thisclass)
- Load our state (e.g. attrubutes, service-id) from persistent storage
getComment
public abstract java.lang.String getComment()
getCreator
public abstract java.lang.String getCreator()
getUIDescriptor
public abstract net.jini.lookup.entry.UIDescriptor getUIDescriptor()
createDir
private void createDir(java.io.File f)
throws java.io.IOException
init
public void init(java.lang.Object This,
java.lang.Class proxyIf)
throws java.io.IOException
- create a proxy should one not exist and do everything automagically
(unfinished)
class2String
private java.lang.String class2String(java.lang.Class c)
stop
public void stop(boolean exit)
throws java.lang.Exception
- Description copied from class: simpleService
- stop this service. If exit is false all references to this
service are still valid but it has deregistered everywhere.
(this includes the RMI-activation-daemon)
- Overrides:
- stop in class simpleService
- Tags copied from class: simpleService
- Parameters:
exit - stop running- See Also:
restart,
destroy
restart
public void restart()
throws java.lang.Exception
- Description copied from class: simpleService
- restart this service once it has been stopped
- Overrides:
- restart in class simpleService
- Tags copied from class: simpleService
- See Also:
stop
destroy
public void destroy()
throws java.rmi.RemoteException
- Description copied from class: simpleService
- stop this service, destroy any persistent storage and exit
- Overrides:
- destroy in class simpleService