本文整理汇总了Java中com.sun.xml.internal.ws.model.JavaMethodImpl.isAsync方法的典型用法代码示例。如果您正苦于以下问题:Java JavaMethodImpl.isAsync方法的具体用法?Java JavaMethodImpl.isAsync怎么用?Java JavaMethodImpl.isAsync使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.sun.xml.internal.ws.model.JavaMethodImpl
的用法示例。
在下文中一共展示了JavaMethodImpl.isAsync方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DatabindingImpl
import com.sun.xml.internal.ws.model.JavaMethodImpl; //导入方法依赖的package包/类
public DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config) {
RuntimeModeler modeler = new RuntimeModeler(config);
modeler.setClassLoader(config.getClassLoader());
seiModel = modeler.buildRuntimeModel();
WSDLPort wsdlport = config.getWsdlPort();
packetFactory = new MessageContextFactory(seiModel.getWSBinding().getFeatures());
clientConfig = isClientConfig(config);
if (clientConfig) {
initStubHandlers();
}
seiModel.setDatabinding(this);
if (wsdlport != null) {
freeze(wsdlport);
}
if (operationDispatcher == null) {
operationDispatcherNoWsdl = new OperationDispatcher(null, seiModel.getWSBinding(), seiModel);
}
// if(!clientConfig) {
for (JavaMethodImpl jm : seiModel.getJavaMethods()) {
if (!jm.isAsync()) {
TieHandler th = new TieHandler(jm, seiModel.getWSBinding(), packetFactory);
wsdlOpMap.put(jm, th);
tieHandlers.put(th.getMethod(), th);
}
}
// }
}
示例2: DatabindingImpl
import com.sun.xml.internal.ws.model.JavaMethodImpl; //导入方法依赖的package包/类
public DatabindingImpl(DatabindingProviderImpl p, DatabindingConfig config) {
RuntimeModeler modeler = new RuntimeModeler(config);
modeler.setClassLoader(config.getClassLoader());
seiModel = modeler.buildRuntimeModel();
WSDLPort wsdlport = config.getWsdlPort();
Object facProp = config.properties().get("com.sun.xml.internal.ws.api.message.MessageContextFactory");
packetFactory = (facProp != null && facProp instanceof MessageContextFactory)? (MessageContextFactory)facProp :
new MessageContextFactory(seiModel.getWSBinding().getFeatures());
clientConfig = isClientConfig(config);
if (clientConfig) {
initStubHandlers();
}
seiModel.setDatabinding(this);
if (wsdlport != null) {
freeze(wsdlport);
}
if (operationDispatcher == null) {
operationDispatcherNoWsdl = new OperationDispatcher(null, seiModel.getWSBinding(), seiModel);
}
// if(!clientConfig) {
for (JavaMethodImpl jm : seiModel.getJavaMethods()) {
if (!jm.isAsync()) {
TieHandler th = new TieHandler(jm, seiModel.getWSBinding(), packetFactory);
wsdlOpMap.put(jm, th);
tieHandlers.put(th.getMethod(), th);
}
}
// }
}