public final class ClockServiceActivator extends ServiceActivator
ClockServiceImplStatsHolder.UpdateNotificationNAME_ARG_PREFIX, OBJECT_NAME_PROPERTYACTIVATOR_CLASS_NAME_SUFFIX, DEFAULT_DOMAIN, DOMAIN_PROPERTY, NAME_KEY, STATS_UPDATE_TYPE, TYPE_KEY| Constructor and Description |
|---|
ClockServiceActivator() |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceImpl |
createServiceImpl()
Creates the service implementation.
|
static void |
main(String[] args)
Allows operation in stand alone mode.
|
acceptMainArg, create, createServiceImpl, createServiceImpl, destroy, export, getConfig, getConfigURL, getObjectVersion, getService, getStats, isRunning, isStarted, isStopped, isZombie, setConfigURL, setWait, start, start, stop, tearDownStandAlone, updateStatscreated, destroyed, equals, getObjectName, getProperties, getProperty, getServer, getVersion, hashCode, postDeregister, postRegister, preDeregister, preRegister, restart, restart, run, setListener, setObjectNameProperty, setProperties, setProperty, started, starting, stopped, stopping, terminate, toStringgetDefaultDomain, getStatsStrings, getThisLogger, makeObjectName, makeObjectName, objectName, onStatsUpdated, setObjectNameaddNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationgetProperties, getProperty, restart, setProperties, setPropertygetStatsStringspublic static void main(@Nonnull
String[] args)
As a program, it expects one optional argument: the configuration file specification. It will default to "rvpf-config.xml".
args - The program arguments.protected ServiceImpl createServiceImpl()
This must be implemented by the subclasses to provide the actual service.
createServiceImpl in class ServiceActivatorCopyright © 2003-2019 Serge Brisson. All Rights Reserved.