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) |
JdrReport |
collect()
Collect a JDR report.
|
JdrReportService |
getValue() |
JdrReport |
standaloneCollect(org.jboss.as.cli.scriptsupport.CLI cli,
String protocol,
String host,
int 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)
public JdrReport standaloneCollect(org.jboss.as.cli.scriptsupport.CLI cli, String protocol, String host, int port) throws org.jboss.as.controller.OperationFailedException
cli - org.jboss.as.controller.OperationFailedExceptionpublic JdrReport collect() throws org.jboss.as.controller.OperationFailedException
collect in interface JdrReportCollectororg.jboss.as.controller.OperationFailedExceptionpublic void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic JdrReportService getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<JdrReportCollector>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.