public class MonitorService extends AgentCoreEngine implements org.jboss.msc.service.Service<MonitorService>
| Constructor and Description |
|---|
MonitorService(AgentCoreEngineConfiguration bootConfiguration,
org.jboss.as.controller.ProcessType processType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependencies(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceBuilder<MonitorService> bldr)
When this service is being built, this method is called to allow this service
to add whatever dependencies it needs.
|
protected String |
autoGenerateFeedId() |
protected Map<String,Class<? extends Command<? extends org.hawkular.bus.common.BasicMessage,? extends org.hawkular.bus.common.BasicMessage>>> |
buildAdditionalCommands() |
protected ModelControllerClientFactory |
buildLocalModelControllerClientFactory() |
protected Map<String,SSLContext> |
buildTrustOnlySSLContextValues(AgentCoreEngineConfiguration config) |
protected Map<String,TrustManager[]> |
buildTrustOnlyTrustManagersValues(AgentCoreEngineConfiguration config) |
protected void |
cleanupDuringStop() |
MonitorService |
getValue() |
protected AgentCoreEngineConfiguration |
loadRuntimeConfiguration(AgentCoreEngineConfiguration config) |
void |
removeInstalledServices(org.jboss.as.controller.OperationContext context) |
void |
start(org.jboss.msc.service.StartContext startContext) |
void |
stop(org.jboss.msc.service.StopContext stopContext) |
createProtocolServicesBuilder, getConfiguration, getFeedId, getHawkularAgentContext, getLocalModelControllerClientFactory, getProtocolServices, getSchedulerService, getStatus, getTenantId, isImmutable, startHawkularAgent, startHawkularAgent, stopHawkularAgentpublic MonitorService(AgentCoreEngineConfiguration bootConfiguration, org.jboss.as.controller.ProcessType processType)
public MonitorService getValue()
getValue in interface org.jboss.msc.value.Value<MonitorService>public void addDependencies(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceBuilder<MonitorService> bldr)
target - the service targetbldr - the service builder used to add dependenciespublic void removeInstalledServices(org.jboss.as.controller.OperationContext context)
public void start(org.jboss.msc.service.StartContext startContext)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<MonitorService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext stopContext)
stop in interface org.jboss.msc.service.Service<MonitorService>protected AgentCoreEngineConfiguration loadRuntimeConfiguration(AgentCoreEngineConfiguration config)
loadRuntimeConfiguration in class AgentCoreEngineprotected ModelControllerClientFactory buildLocalModelControllerClientFactory()
buildLocalModelControllerClientFactory in class AgentCoreEngineprotected Map<String,SSLContext> buildTrustOnlySSLContextValues(AgentCoreEngineConfiguration config)
buildTrustOnlySSLContextValues in class AgentCoreEngineprotected Map<String,TrustManager[]> buildTrustOnlyTrustManagersValues(AgentCoreEngineConfiguration config)
buildTrustOnlyTrustManagersValues in class AgentCoreEngineprotected void cleanupDuringStop()
cleanupDuringStop in class AgentCoreEngineprotected String autoGenerateFeedId() throws Exception
autoGenerateFeedId in class AgentCoreEngineExceptionprotected Map<String,Class<? extends Command<? extends org.hawkular.bus.common.BasicMessage,? extends org.hawkular.bus.common.BasicMessage>>> buildAdditionalCommands()
buildAdditionalCommands in class AgentCoreEngineCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.