Class TransportService

  • All Implemented Interfaces:
    de.willuhn.boot.Bootable

    public class TransportService
    extends java.lang.Object
    implements de.willuhn.boot.Bootable
    Verwaltet die Transport-Protokolle.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<de.willuhn.boot.Bootable>[] depends()  
      Transport getTransport​(java.net.URL url)
      Liefert die Transport-Implementierung fuer die URL.
      void init​(de.willuhn.boot.BootLoader arg0, de.willuhn.boot.Bootable arg1)  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransportService

        public TransportService()
    • Method Detail

      • depends

        public java.lang.Class<de.willuhn.boot.Bootable>[] depends()
        Specified by:
        depends in interface de.willuhn.boot.Bootable
        See Also:
        Bootable.depends()
      • init

        public void init​(de.willuhn.boot.BootLoader arg0,
                         de.willuhn.boot.Bootable arg1)
                  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()
      • getTransport

        public Transport getTransport​(java.net.URL url)
                               throws de.willuhn.util.ApplicationException
        Liefert die Transport-Implementierung fuer die URL.
        Parameters:
        url - URL.
        Returns:
        Transport-Implementierung.
        Throws:
        de.willuhn.util.ApplicationException