Package com.example.provider2_extension
Class Provider
- java.lang.Object
-
- com.google.common.util.concurrent.AbstractIdleService
-
- com.example.provider2_extension.Provider
-
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
public class Provider extends com.google.common.util.concurrent.AbstractIdleServiceProvider with a descriptor and state extension.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)protected voidshutDown()protected voidstartUp()
-
-
-
Method Detail
-
main
public static void main(String[] args) throws SocketException, UnknownHostException
- Throws:
SocketExceptionUnknownHostException
-
startUp
protected void startUp() throws Exception- Specified by:
startUpin classcom.google.common.util.concurrent.AbstractIdleService- Throws:
Exception
-
shutDown
protected void shutDown()
- Specified by:
shutDownin classcom.google.common.util.concurrent.AbstractIdleService
-
-