Class CBServices
java.lang.Object
com.io7m.cedarbridge.cmdline.internal.CBServices
Functions over services.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CBVersionstatic <T> TfindService(Class<T> service) Find a service, or fail.
-
Method Details
-
findService
Find a service, or fail.- Type Parameters:
T- The type of service- Parameters:
service- The service class- Returns:
- The service instance
-
findApplicationVersion
- Returns:
- The application version
- Throws:
IOException- On I/O errors
-