org.apache.axis.client.Service.getEngine()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(176)

本文整理了Java中org.apache.axis.client.Service.getEngine()方法的一些代码示例,展示了Service.getEngine()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Service.getEngine()方法的具体详情如下:
包路径:org.apache.axis.client.Service
类名称:Service
方法名:getEngine

Service.getEngine介绍

[英]Returns the current AxisEngine used by this Service and all of the Call objects created from this Service object. Note: Not part of the JAX-RPC spec.
[中]返回此服务使用的当前AxisEngine以及由此服务对象创建的所有调用对象。注意:不是JAX-RPC规范的一部分。

代码示例

代码示例来源:origin: axis/axis

/**
 * Set engine option.
 *
 * Note: Not part of JAX-RPC specification.
 */
public void setOption(String name, Object value) {
  service.getEngine().setOption(name, value);
}

代码示例来源:origin: org.apache.axis/axis

/**
 * Set engine option.
 *
 * Note: Not part of JAX-RPC specification.
 */
public void setOption(String name, Object value) {
  service.getEngine().setOption(name, value);
}

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
 * Set engine option.
 *
 * Note: Not part of JAX-RPC specification.
 */
public void setOption(String name, Object value) {
  service.getEngine().setOption(name, value);
}

代码示例来源:origin: org.apache.axis/axis

public void run() {
    msgContext.setProperty(Call.ONE_WAY, Boolean.TRUE);
    try {
      service.getEngine().invoke( msgContext );
    } catch (AxisFault af){
      //TODO: handle errors properly
      log.debug(Messages.getMessage("exceptionPrinting"), af);
    }
    msgContext.removeProperty(Call.ONE_WAY);
  }
};

代码示例来源:origin: axis/axis

public void run() {
    msgContext.setProperty(Call.ONE_WAY, Boolean.TRUE);
    try {
      service.getEngine().invoke( msgContext );
    } catch (AxisFault af){
      //TODO: handle errors properly
      log.debug(Messages.getMessage("exceptionPrinting"), af);
    }
    msgContext.removeProperty(Call.ONE_WAY);
  }
};

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

public void run() {
    msgContext.setProperty(Call.ONE_WAY, Boolean.TRUE);
    try {
      service.getEngine().invoke( msgContext );
    } catch (AxisFault af){
      //TODO: handle errors properly
      log.debug(Messages.getMessage("exceptionPrinting"), af);
    }
    msgContext.removeProperty(Call.ONE_WAY);
  }
};

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
 * Default constructor - not much else to say.
 *
 * @param service  the <code>Service</code> this <code>Call</code> will
 *              work with
 */
public Call(Service service) {
  this.service = service ;
  AxisEngine engine = service.getEngine();
  msgContext = new MessageContext( engine );
  myProperties.setParent(engine.getOptions());
  maintainSession = service.getMaintainSession();
}

代码示例来源:origin: axis/axis

/**
 * Default constructor - not much else to say.
 *
 * @param service  the <code>Service</code> this <code>Call</code> will
 *              work with
 */
public Call(Service service) {
  this.service = service ;
  AxisEngine engine = service.getEngine();
  msgContext = new MessageContext( engine );
  myProperties.setParent(engine.getOptions());
  maintainSession = service.getMaintainSession();
}

代码示例来源:origin: org.apache.axis/axis

/**
 * Default constructor - not much else to say.
 *
 * @param service  the <code>Service</code> this <code>Call</code> will
 *              work with
 */
public Call(Service service) {
  this.service = service ;
  AxisEngine engine = service.getEngine();
  msgContext = new MessageContext( engine );
  myProperties.setParent(engine.getOptions());
  maintainSession = service.getMaintainSession();
}

代码示例来源:origin: org.apache.openejb/openejb-axis

final AxisEngine axisEngine = service.getEngine();
final TypeMappingRegistry typeMappingRegistry = axisEngine.getTypeMappingRegistry();
final TypeMapping typeMapping = typeMappingRegistry.getOrMakeTypeMapping(encodingStyle);

代码示例来源:origin: axis/axis

transport.setupMessageContext(msgContext, this, service.getEngine());

代码示例来源:origin: org.apache.axis/axis

transport.setupMessageContext(msgContext, this, service.getEngine());

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

transport.setupMessageContext(msgContext, this, service.getEngine());

代码示例来源:origin: org.apache.axis/axis

service.getEngine().invoke( msgContext );

代码示例来源:origin: axis/axis

service.getEngine().invoke( msgContext );

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

service.getEngine().invoke( msgContext );

相关文章