public class TomcatConfigurationCollectorImpl extends BaseTomcatCollectorImpl
| Constructor and Description |
|---|
TomcatConfigurationCollectorImpl() |
getCollectorContext, getServiceInitializer, getVerbose, setCollectorContext, setServiceInitializerpublic TomcatConfiguration getTomcatConfiguration()
public void setTomcatConfiguration(TomcatConfiguration tomcatConfiguration)
public String getLocalHostName()
public void setLocalHostName(String localHostName)
public String getIpAddress()
public void setIpAddress(String ipAddress)
ipAddress - the ipAddress to setpublic void collect()
protected void startCollect()
throws MalformedObjectNameException,
ReflectionException,
AttributeNotFoundException,
MBeanException,
InstanceNotFoundException,
UnknownHostException
protected void endCollect()
throws MalformedObjectNameException,
ReflectionException,
AttributeNotFoundException,
MBeanException,
InstanceNotFoundException
protected TomcatServer buildTomcatServer(MBeanServer mbeanServer, ObjectName serverName) throws MalformedObjectNameException, ReflectionException, AttributeNotFoundException, MBeanException, InstanceNotFoundException
protected JavaRuntime buildJavaRuntime(MBeanServer mbeanServer, TomcatServer server, ObjectName serverName) throws MalformedObjectNameException, ReflectionException, AttributeNotFoundException, MBeanException, InstanceNotFoundException
protected TomcatService buildTomcatService(MBeanServer mbeanServer, TomcatServer server, ObjectName serviceName) throws MalformedObjectNameException, ReflectionException, AttributeNotFoundException, MBeanException, InstanceNotFoundException
protected TomcatConnector buildTomcatConnector(MBeanServer mbeanServer, TomcatService tomcatService, ObjectName connectorName) throws MalformedObjectNameException, ReflectionException, AttributeNotFoundException, MBeanException, InstanceNotFoundException
protected TomcatEngine buildTomcatEngine(MBeanServer mbeanServer, TomcatService tomcatService, ObjectName engineName) throws MalformedObjectNameException, ReflectionException, AttributeNotFoundException, MBeanException, InstanceNotFoundException
protected String findLocalMachineName() throws UnknownHostException
UnknownHostExceptionprotected String findIpAddress() throws UnknownHostException
UnknownHostExceptionpublic void setHybrisCollectorService(HybrisCollectorService hybrisCollectorService)
hybrisCollectorService - the hybrisCollectorService to setpublic HybrisCollectorService getHybrisCollectorService()
Copyright © 2017 SAP SE. All Rights Reserved.