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

com.sun.xml.ws.api.model.wsdl.WSDLFeaturedObject Maven / Gradle / Ivy

/*
 * Copyright (c) 1997, 2019 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.model.wsdl;

import com.sun.istack.NotNull;
import com.sun.istack.Nullable;
import com.sun.xml.ws.api.WSFeatureList;
import com.sun.xml.ws.api.wsdl.parser.WSDLParserExtension;

import javax.xml.ws.Dispatch;
import javax.xml.ws.WebServiceFeature;

/**
 * {@link WSDLObject} that can have features associated with it.
 *
 * 

* {@link WSDLParserExtension}s can add features to this object, * which will then be incorporated when {@link Dispatch}s and * proxies are created for the port. * * @author Kohsuke Kawaguchi */ public interface WSDLFeaturedObject extends WSDLObject { @Nullable F getFeature(@NotNull Class featureType); /** * Gets the feature list associated with this object. */ @NotNull WSFeatureList getFeatures(); /** * Enables a {@link WebServiceFeature} based upon policy assertions on this port. * This method would be called during WSDL parsing by WS-Policy code. */ void addFeature(@NotNull WebServiceFeature feature); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy