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 protocol,
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 protocol, String host, String port) throws OperationFailedException
OperationFailedExceptionpublic JdrReport collect() throws OperationFailedException
collect in interface JdrReportCollectorOperationFailedExceptionpublic 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.StartExceptionpublic 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>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.