All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.api.FeatureConstructor Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.api;

import com.sun.xml.ws.developer.MemberSubmissionAddressing;
import com.sun.xml.ws.developer.MemberSubmissionAddressingFeature;

import jakarta.xml.ws.WebServiceFeature;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;

/**
 * 

* This annotation should be used on a constructor of classes extending {@link WebServiceFeature} other than * Spec defined features, to help JAX-WS runtime recognize feature extensions. *

*

* For WebServiceFeature annotations to be recognizable by JAX-WS runtime, the feature annotation should point * to a corresponding bean (class extending WebServiceFeature). Only one of the constructors in the bean MUST be marked * with @FeatureConstructor whose value captures the annotaion attribute names for the corresponding parameters. *

* For example, * @see MemberSubmissionAddressingFeature * @see MemberSubmissionAddressing * * @see com.sun.xml.ws.developer.Stateful * @see com.sun.xml.ws.developer.StatefulFeature * * @author Rama Pulavarthi */ @Retention(RUNTIME) @Target(ElementType.CONSTRUCTOR) public @interface FeatureConstructor { /** * The name of the parameter. */ String[] value() default {}; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy