本文整理了Java中org.apache.cxf.endpoint.Server.isStarted()
方法的一些代码示例,展示了Server.isStarted()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.isStarted()
方法的具体详情如下:
包路径:org.apache.cxf.endpoint.Server
类名称:Server
方法名:isStarted
暂无
代码示例来源:origin: apache/cxf
@Override
protected boolean acceptsFeature(Server server) {
return !server.isStarted();
}
代码示例来源:origin: apache/cxf
@Override
protected boolean acceptsFeature(Server server) {
return server.isStarted();
}
代码示例来源:origin: org.apache.cxf.karaf/cxf-karaf-commands
@Override
protected boolean acceptsFeature(Server server) {
return !server.isStarted();
}
代码示例来源:origin: org.apache.cxf.karaf/cxf-karaf-commands
@Override
protected boolean acceptsFeature(Server server) {
return server.isStarted();
}
代码示例来源:origin: com.github.livesense/org.liveSense.service.cxf
private void unregisterService(ServiceReference sr) {
String serviceUrl = (String)sr.getProperty(WS_PATH);
if (serviceUrl != null && context.getService(sr) instanceof WebServiceMarkerInterface && registeredServices.containsKey(serviceUrl)) {
log.info("Service unregistration: "+context.getService(sr).getClass().getName());
Server service = registeredServices.get(serviceUrl);
registeredServices.remove(serviceUrl);
try {
if (service.isStarted())
service.stop();
service.destroy();
} catch (Exception e) {
log.error("Could not remove service: "+serviceUrl, e);
}
}
}
代码示例来源:origin: apache/cxf
public void destroy() {
Server server = super.getServer();
if (server != null && server.isStarted()) {
server.destroy();
}
}
@Override
代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs
public void destroy() {
Server server = super.getServer();
if (server != null && server.isStarted()) {
server.destroy();
}
}
代码示例来源:origin: com.github.livesense/org.liveSense.service.cxf
try {
log.info("Stopping service: "+path);
if (registeredServices.get(path).isStarted())
registeredServices.get(path).stop();
代码示例来源:origin: org.apache.cxf.karaf/cxf-karaf-commands
for (Server serv : servers) {
String qname = serv.getEndpoint().getEndpointInfo().getName().getLocalPart();
String started = serv.isStarted() ? "Started" : "Stopped";
String address = serv.getEndpoint().getEndpointInfo().getAddress();
if (fullAddress) {
代码示例来源:origin: apache/cxf
for (Server serv : servers) {
String qname = serv.getEndpoint().getEndpointInfo().getName().getLocalPart();
String started = serv.isStarted() ? "Started" : "Stopped";
String address = serv.getEndpoint().getEndpointInfo().getAddress();
if (fullAddress) {
代码示例来源:origin: kieker-monitoring/kieker
@Test
public final void testIt() throws InterruptedException {
Assert.assertTrue(this.server.isStarted());
this.beforeRequest();
final String retVal = this.client.searchBook("any"); // we could use the return value
Assert.assertEquals("Unexpected return value", "any", retVal);
this.afterRequest();
this.clientMonitoringController.terminateMonitoring();
this.clientMonitoringController.waitForTermination(5000);
this.serverMonitoringController.terminateMonitoring();
this.serverMonitoringController.waitForTermination(5000);
this.checkRecordList(this.recordListFilledByListWriter);
}
内容来源于网络,如有侵权,请联系作者删除!