congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY
Code IndexAdd Tabnine to your IDE (free)

How to use
WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY
method
in
com.sun.tools.ws.resources.WebserviceapMessages

Best Java code snippets using com.sun.tools.ws.resources.WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY (Showing top 4 results out of 315)

origin: com.sun.xml.ws/jaxws-tools

protected boolean isLegalParameter(VariableElement param,
                  ExecutableElement method,
                  TypeElement typeElement,
                  int paramIndex) {
  if (!isLegalType(param.asType())) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(typeElement.getQualifiedName(),
        method.getSimpleName(),
        param.getSimpleName(),
        param.asType().toString()), param);
    return false;
  }
  TypeMirror holderType;
  holderType = builder.getHolderValueType(param.asType());
  WebParam webParam = param.getAnnotation(WebParam.class);
  WebParam.Mode mode = null;
  if (webParam != null)
    mode = webParam.mode();
  if (holderType != null) {
    if (mode != null && mode == WebParam.Mode.IN)
      builder.processError(WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  } else if (mode != null && mode != WebParam.Mode.IN) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  }
  return true;
}
origin: javaee/metro-jax-ws

protected boolean isLegalParameter(VariableElement param,
                  ExecutableElement method,
                  TypeElement typeElement,
                  int paramIndex) {
  if (!isLegalType(param.asType())) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(typeElement.getQualifiedName(),
        method.getSimpleName(),
        param.getSimpleName(),
        param.asType().toString()), param);
    return false;
  }
  TypeMirror holderType;
  holderType = builder.getHolderValueType(param.asType());
  WebParam webParam = param.getAnnotation(WebParam.class);
  WebParam.Mode mode = null;
  if (webParam != null)
    mode = webParam.mode();
  if (holderType != null) {
    if (mode != null && mode == WebParam.Mode.IN)
      builder.processError(WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  } else if (mode != null && mode != WebParam.Mode.IN) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  }
  return true;
}
origin: org.glassfish.metro/webservices-tools

protected boolean isLegalParameter(VariableElement param,
                  ExecutableElement method,
                  TypeElement typeElement,
                  int paramIndex) {
  if (!isLegalType(param.asType())) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(typeElement.getQualifiedName(),
        method.getSimpleName(),
        param.getSimpleName(),
        param.asType().toString()), param);
    return false;
  }
  TypeMirror holderType;
  holderType = builder.getHolderValueType(param.asType());
  WebParam webParam = param.getAnnotation(WebParam.class);
  WebParam.Mode mode = null;
  if (webParam != null)
    mode = webParam.mode();
  if (holderType != null) {
    if (mode != null && mode == WebParam.Mode.IN)
      builder.processError(WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  } else if (mode != null && mode != WebParam.Mode.IN) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  }
  return true;
}
origin: javaee/metro-jax-ws

protected boolean isLegalParameter(VariableElement param,
                  ExecutableElement method,
                  TypeElement typeElement,
                  int paramIndex) {
  if (!isLegalType(param.asType())) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE(typeElement.getQualifiedName(),
        method.getSimpleName(),
        param.getSimpleName(),
        param.asType().toString()), param);
    return false;
  }
  TypeMirror holderType;
  holderType = builder.getHolderValueType(param.asType());
  WebParam webParam = param.getAnnotation(WebParam.class);
  WebParam.Mode mode = null;
  if (webParam != null)
    mode = webParam.mode();
  if (holderType != null) {
    if (mode != null && mode == WebParam.Mode.IN)
      builder.processError(WebserviceapMessages.WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  } else if (mode != null && mode != WebParam.Mode.IN) {
    builder.processError(WebserviceapMessages.WEBSERVICEAP_NON_IN_PARAMETERS_MUST_BE_HOLDER(typeElement.getQualifiedName(), method.toString(), paramIndex), param);
  }
  return true;
}
com.sun.tools.ws.resourcesWebserviceapMessagesWEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY

Javadoc

javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class: {0} method: {1} parameter: {2}

Popular methods of WebserviceapMessages

  • WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL
    Could not get TypeElement for: {0} in annotation processing round: {1}
  • WEBSERVICEAP_DOC_BARE_AND_NO_ONE_IN
    Document literal bare methods must have one non-header, IN/INOUT parameter. Class: {0} Method: {1}
  • WEBSERVICEAP_DOC_BARE_NO_OUT
    Document/literal bare methods with no return type or OUT/INOUT parameters must be annotated as @Onew
  • WEBSERVICEAP_DOC_BARE_NO_RETURN_AND_NO_OUT
    Document literal bare methods that do not have a return value must have a single OUT/INOUT parameter
  • WEBSERVICEAP_DOC_BARE_RETURN_AND_OUT
    Document/literal bare methods cannot have a return type and out parameters. Class: {0}, method: {1}
  • WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ANNOTATION
    The @{0} annotation cannot be used in with @javax.jws.WebService.endpointInterface element.
  • WEBSERVICEAP_ENDPOINTINTEFACE_PLUS_ELEMENT
    The @javax.jws.WebService.{0} element cannot be used in with @javax.jws.WebService.endpointInterface
  • WEBSERVICEAP_ENDPOINTINTERFACES_DO_NOT_MATCH
    The endpoint interface {0} does not match the interface {1}.
  • WEBSERVICEAP_ENDPOINTINTERFACE_CLASS_NOT_FOUND
    The endpointInterface class {0} could not be found
  • WEBSERVICEAP_ENDPOINTINTERFACE_HAS_NO_WEBSERVICE_ANNOTATION
    The endpoint interface {0} must have a WebService annotation
  • WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE
    Service endpoint interface: {0} cannot have a WebService.endpointInterface annotation: {1}
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION
    The @{0} annotation cannot be used on a service endpoint interface. Class: {1}
  • WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT,
  • WEBSERVICEAP_INVALID_SEI_ANNOTATION_ELEMENT_EXCLUDE,
  • WEBSERVICEAP_INVALID_SOAPBINDING_PARAMETERSTYLE,
  • WEBSERVICEAP_INVALID_WEBMETHOD_ELEMENT_WITH_EXCLUDE,
  • WEBSERVICEAP_METHOD_EXCEPTION_BEAN_NAME_NOT_UNIQUE,
  • WEBSERVICEAP_METHOD_NOT_IMPLEMENTED,
  • WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now