Class RegistryService

java.lang.Object
de.willuhn.jameica.services.RegistryService
All Implemented Interfaces:
de.willuhn.boot.Bootable

public class RegistryService extends Object implements de.willuhn.boot.Bootable
Service, der die RMI-Registry startet.
  • Constructor Details

    • RegistryService

      public RegistryService()
  • Method Details

    • depends

      public 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(String name, Remote remote) throws Exception
      Bindet ein Remote-Objekt an die Registry.
      Parameters:
      name - Lookup-Name.
      remote - Instanz des Remote-Objektes.
      Throws:
      Exception
    • unbind

      public void unbind(String name) throws Exception
      Entfernt ein Remote-Objekt aus der Registry.
      Parameters:
      name - der Lookup-Name.
      Throws:
      Exception
    • getSocketFactory

      public RMISocketFactory getSocketFactory()
      Liefert die aktuelle RMI-Socket-Factory.
      Returns:
      aktuelle RMI-Socket-Factory.