C E G I L M O R S T V W 
All Classes All Packages

C

Component<S extends Service,​C> - Class in me.legrange.service
Extended by packaged service components to gain access to useful functionality in the service.
Component(S) - Constructor for class me.legrange.service.Component
Create a component associated with the given service.
ComponentException - Exception in me.legrange.service
Thrown by components if they want to signal a critical error.
ComponentException(String) - Constructor for exception me.legrange.service.ComponentException
 
ComponentException(String, Throwable) - Constructor for exception me.legrange.service.ComponentException
 
ComponentNotFoundException - Exception in me.legrange.service
 
ComponentNotFoundException(String) - Constructor for exception me.legrange.service.ComponentNotFoundException
 
ComponentNotFoundException(String, Throwable) - Constructor for exception me.legrange.service.ComponentNotFoundException
 

E

EnvironmentDetectionException - Exception in me.legrange.service
 
EnvironmentDetectionException(String) - Constructor for exception me.legrange.service.EnvironmentDetectionException
 
EnvironmentDetectionException(String, Throwable) - Constructor for exception me.legrange.service.EnvironmentDetectionException
 

G

getApplicationJarName() - Static method in class me.legrange.service.RuntimeEnvironment
Return the path of the JAR file containing the running application.
getArch() - Static method in class me.legrange.service.RuntimeEnvironment
Get the CPU architecture.
getComponent(Class<C>) - Method in class me.legrange.service.Component
 
getComponent(Class<C>) - Method in class me.legrange.service.Service
Get the running component for the given component class.
getComponent(Class<C>) - Method in interface me.legrange.service.WithComponent
 
getComputerName() - Static method in class me.legrange.service.RuntimeEnvironment
 
getConfig() - Method in class me.legrange.service.Service
Return the service configuration.
getCores() - Static method in class me.legrange.service.RuntimeEnvironment
Return the number of CPU cores.
getName() - Method in class me.legrange.service.Component
Get the name of the component.
getOsType() - Static method in class me.legrange.service.RuntimeEnvironment
Apply heuristics to determine the OS type from the os.name system property.
getTempDir() - Static method in class me.legrange.service.RuntimeEnvironment
 

I

isInContainer() - Static method in class me.legrange.service.RuntimeEnvironment
Detect if the application is running inside a container.
isIpv4Supported() - Static method in class me.legrange.service.RuntimeEnvironment
Return if IPv4 is supported.
isIpv6Supported() - Static method in class me.legrange.service.RuntimeEnvironment
Return if IPv6 is supported.
isRunning() - Method in class me.legrange.service.Service
 

L

LINUX - me.legrange.service.RuntimeEnvironment.Type
 

M

MACOS - me.legrange.service.RuntimeEnvironment.Type
 
main(String...) - Static method in class me.legrange.service.Service
 
me.legrange.service - package me.legrange.service
 

O

onStop() - Method in class me.legrange.service.Service
Stop the service.

R

requireComponent(Class<C>) - Method in class me.legrange.service.Component
 
requireComponent(Class<C>) - Method in class me.legrange.service.Service
 
requiresConfig() - Method in class me.legrange.service.Component
Call to determine if the component requires configuration.
RuntimeEnvironment - Class in me.legrange.service
A utility class that provides access to OS/runtime environment relate information and operations.
RuntimeEnvironment.Type - Enum in me.legrange.service
Types of 'thought to be supported' operating systems.

S

service() - Method in class me.legrange.service.Component
Access the service that owns this component.
Service<Conf> - Class in me.legrange.service
 
Service() - Constructor for class me.legrange.service.Service
 
ServiceException - Exception in me.legrange.service
 
ServiceException(String) - Constructor for exception me.legrange.service.ServiceException
 
ServiceException(String, Throwable) - Constructor for exception me.legrange.service.ServiceException
 
sleep(int) - Method in class me.legrange.service.Service
 
start() - Method in class me.legrange.service.Service
Start the service.
start(C) - Method in class me.legrange.service.Component
Start the component.
start(Conf) - Method in class me.legrange.service.Service
 
stop() - Method in class me.legrange.service.Component
Stop the component.
stop() - Method in class me.legrange.service.Service
 
submit(Runnable) - Method in class me.legrange.service.Service
Submit a task for running to the thread pool.

T

toString() - Method in enum me.legrange.service.RuntimeEnvironment.Type
 

V

valueOf(String) - Static method in enum me.legrange.service.RuntimeEnvironment.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.legrange.service.RuntimeEnvironment.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WINDOWS - me.legrange.service.RuntimeEnvironment.Type
 
WithComponent - Interface in me.legrange.service
 
C E G I L M O R S T V W 
All Classes All Packages