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.OperationFailedException
public JdrReport collect() throws org.jboss.as.controller.OperationFailedException
collect
in interface JdrReportCollector
org.jboss.as.controller.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 © 2017 JBoss by Red Hat. All rights reserved.