本文整理了Java中org.jboss.wsf.spi.deployment.Endpoint.setInvocationHandler()
方法的一些代码示例,展示了Endpoint.setInvocationHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Endpoint.setInvocationHandler()
方法的具体详情如下:
包路径:org.jboss.wsf.spi.deployment.Endpoint
类名称:Endpoint
方法名:setInvocationHandler
[英]Set the endpoint bean invoker
[中]设置端点bean调用程序
代码示例来源:origin: org.jboss.eap/wildfly-webservices-server-integration
@Override
public void start(final Deployment dep) {
for (final Endpoint ep : dep.getService().getEndpoints()) {
ep.setInvocationHandler(new InvocationHandlerJAXWS());
}
}
}
代码示例来源:origin: org.wildfly/wildfly-webservices-server-integration
@Override
public void start(final Deployment dep) {
for (final Endpoint ep : dep.getService().getEndpoints()) {
ep.setInvocationHandler(new InvocationHandlerJAXWS());
}
}
}
代码示例来源:origin: org.jboss.ws/jbossws-common
@Override
public void start(final Deployment dep)
{
final RequestHandler reqHandler = getRequestHandler();
final LifecycleHandler lcHandler = getLifecycleHandler();
for (final Endpoint ep : dep.getService().getEndpoints())
{
ep.setRequestHandler(reqHandler);
ep.setLifecycleHandler(lcHandler);
ep.setInvocationHandler(getInvocationHandler(ep));
}
}
代码示例来源:origin: org.jboss.ws/jbossws-framework
@Override
public void start(Deployment dep)
{
for (Endpoint ep : dep.getService().getEndpoints())
{
// Associate a request handler
ep.setRequestHandler(getRequestHandler(dep));
// Associate a lifecycle handler
ep.setLifecycleHandler(getLifecycleHandler(dep));
// Associate an invocation handler
// Invocation handlers are assigned per container or per stack
InvocationHandler invocationHandler = getInvocationHandler(ep);
if (invocationHandler != null)
ep.setInvocationHandler(invocationHandler);
}
}
代码示例来源:origin: org.jboss.as/jboss-as-webservices-server-integration
ep.setInvocationHandler(new InvocationHandlerJAXWS());
ep.setState(EndpointState.STARTED);
内容来源于网络,如有侵权,请联系作者删除!