public class JdrReportService extends Object implements JdrReportCollector, org.jboss.msc.service.Service<JdrReportCollector>
JdrReportCollector
.Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
Constructor and Description |
---|
JdrReportService() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceController<JdrReportCollector> |
addService(org.jboss.msc.service.ServiceTarget target,
ServiceVerificationHandler verificationHandler) |
JdrReport |
collect()
Collect a JDR report.
|
JdrReportService |
getValue() |
JdrReport |
standaloneCollect(String host,
String port)
Collect a JDR report when run outside the Application Server.
|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static org.jboss.msc.service.ServiceController<JdrReportCollector> addService(org.jboss.msc.service.ServiceTarget target, ServiceVerificationHandler verificationHandler)
public JdrReport standaloneCollect(String host, String port) throws OperationFailedException
OperationFailedException
public JdrReport collect() throws OperationFailedException
collect
in interface JdrReportCollector
OperationFailedException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<JdrReportCollector>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<JdrReportCollector>
public JdrReportService getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<JdrReportCollector>
IllegalStateException
IllegalArgumentException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.