Java 类javax.xml.ws.ServiceMode 实例源码

项目:wso2-axis2    文件:EndpointDescriptionImpl.java   
public ServiceMode getAnnoServiceMode() {

        if (serviceModeAnnotation == null) {
            serviceModeAnnotation = composite.getServiceModeAnnot();
        }
        return serviceModeAnnotation;
    }
项目:wso2-axis2    文件:JavaClassToDBCConverter.java   
/**
 * This method will be used to attach @ServiceMode annotation data to the
 * <code>DescriptionBuilderComposite</code>
 *
 * @param composite - <code>DescriptionBuildercomposite</code>
 */
private void attachServiceModeAnnotation(DescriptionBuilderComposite composite) {
    ServiceMode serviceMode = (ServiceMode)ConverterUtils.getAnnotation(
            ServiceMode.class, serviceClass);
    if (serviceMode != null) {
        // Attach @ServiceMode annotated data
        ServiceModeAnnot smAnnot = ServiceModeAnnot.createWebServiceAnnotImpl();
        smAnnot.setValue(serviceMode.value());
        composite.setServiceModeAnnot(smAnnot);
    }
}
项目:OpenJSharp    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:openjdk-jdk10    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:openjdk9    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:lookaside_java-1.8.0-openjdk    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:infobip-open-jdk-8    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:OLD-OpenJDK8    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:openjdk-icedtea7    文件:ProviderEndpointModel.java   
/**
 * Is it PAYLOAD or MESSAGE ??
 *
 * @param c endpoint class
 * @return Service.Mode.PAYLOAD or Service.Mode.MESSAGE
 */
private static Service.Mode getServiceMode(Class<?> c) {
    ServiceMode mode = c.getAnnotation(ServiceMode.class);
    return (mode == null) ? Service.Mode.PAYLOAD : mode.value();
}
项目:wso2-axis2    文件:EndpointDescriptionJava.java   
public ServiceMode getAnnoServiceMode();