Package de.willuhn.jameica.services
Class TransportService
- java.lang.Object
-
- de.willuhn.jameica.services.TransportService
-
- All Implemented Interfaces:
de.willuhn.boot.Bootable
public class TransportService extends java.lang.Object implements de.willuhn.boot.Bootable
Verwaltet die Transport-Protokolle.
-
-
Constructor Summary
Constructors Constructor Description TransportService()
-
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()
-
-
-
Method Detail
-
depends
public java.lang.Class<de.willuhn.boot.Bootable>[] depends()
- Specified by:
depends
in interfacede.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 interfacede.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 interfacede.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
-
-