de.willuhn.jameica.services
Class RegistryService
java.lang.Object
de.willuhn.jameica.services.RegistryService
- All Implemented Interfaces:
- de.willuhn.boot.Bootable
public class RegistryService
- extends java.lang.Object
- implements de.willuhn.boot.Bootable
Service, der die RMI-Registry startet.
|
Method Summary |
java.lang.Class[] |
depends()
|
java.rmi.server.RMISocketFactory |
getSocketFactory()
Liefert die aktuelle RMI-Socket-Factory. |
void |
init(de.willuhn.boot.BootLoader loader,
de.willuhn.boot.Bootable caller)
|
void |
rebind(java.lang.String name,
java.rmi.Remote remote)
Bindet ein Remote-Objekt an die Registry. |
void |
shutdown()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryService
public RegistryService()
depends
public java.lang.Class[] depends()
- Specified by:
depends in interface de.willuhn.boot.Bootable
- See Also:
Bootable.depends()
init
public void init(de.willuhn.boot.BootLoader loader,
de.willuhn.boot.Bootable caller)
throws de.willuhn.boot.SkipServiceException
- Specified by:
init in interface de.willuhn.boot.Bootable
- Throws:
de.willuhn.boot.SkipServiceException- See Also:
Bootable.init(de.willuhn.boot.BootLoader, de.willuhn.boot.Bootable)
shutdown
public void shutdown()
- Specified by:
shutdown in interface de.willuhn.boot.Bootable
- See Also:
Bootable.shutdown()
rebind
public void rebind(java.lang.String name,
java.rmi.Remote remote)
throws java.lang.Exception
- Bindet ein Remote-Objekt an die Registry.
- Parameters:
name - Lookup-Name.remote - Instanz des Remote-Objektes.
- Throws:
java.lang.Exception
getSocketFactory
public java.rmi.server.RMISocketFactory getSocketFactory()
- Liefert die aktuelle RMI-Socket-Factory.
- Returns:
- aktuelle RMI-Socket-Factory.