Tabnine Logo
WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.sun.tools.ws.resources.WebserviceapMessages.WEBSERVICEAP_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE (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_METHOD_PARAMETER_TYPES_CANNOT_IMPLEMENT_REMOTE

Javadoc

Method parameter types cannot implement java.rmi.Remote. Class: {0} method: {1} parameter: {2} type: {3}

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_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY
    javax.xml.ws.Holder parameters must not be annotated with the WebParam.Mode.IN property. Class: {0}
  • WEBSERVICEAP_ENDPOINTINTERFACE_ON_INTERFACE,
  • WEBSERVICEAP_HOLDER_PARAMETERS_MUST_NOT_BE_IN_ONLY,
  • 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

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Path (java.nio.file)
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top plugins for Android Studio
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