public final class HTTPServerActivator extends ServiceActivator implements HTTPServerActivatorMBean
HTTPServerImplStatsHolder.UpdateNotificationNAME_ARG_PREFIX, OBJECT_NAME_PROPERTYACTIVATOR_CLASS_NAME_SUFFIX, DEFAULT_DOMAIN, DOMAIN_PROPERTY, NAME_KEY, STATS_UPDATE_TYPE, TYPE_KEY| Constructor and Description |
|---|
HTTPServerActivator() |
| Modifier and Type | Method and Description |
|---|---|
protected ServiceImpl |
createServiceImpl()
Creates the service implementation.
|
String[] |
getAddresses()
Gets the listening IP addresses.
|
int[] |
getPorts()
Gets the listening IP ports.
|
Version |
getVersion()
Gets the version object.
|
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, 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, sendNotificationgetConfigURL, isZombie, setConfigURLcreate, destroy, getProperties, getProperty, isRunning, isStarted, isStopped, restart, setProperties, setProperty, start, stopgetStatsStringspublic 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.public String[] getAddresses()
getAddresses in interface HTTPServerActivatorMBeanpublic int[] getPorts()
getPorts in interface HTTPServerActivatorMBeanpublic Version getVersion()
getVersion in class ServiceActivatorBaseprotected 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.