public interface Service
Services
singleton.Modifier and Type | Field and Description |
---|---|
static String |
CONF_PREFIX
Prefix for all services configuration properties.
|
static String |
DEFAULT_LOCK_TIMEOUT |
static long |
lockTimeout
Lock timeout value if service is only allowed to have one single running instance.
|
static final String DEFAULT_LOCK_TIMEOUT
static final String CONF_PREFIX
static final long lockTimeout
void init(Services services) throws ServiceException
Service
singleton at start up time.services
- services singleton initializing the service.ServiceException
- thrown if the service could not initialize.Class<? extends Service> getInterface()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.