feat(jdk8): move files to new folder to avoid resources compiled.
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import com.sun.istack.internal.NotNull;
|
||||
import com.sun.xml.internal.ws.api.pipe.Pipe;
|
||||
import com.sun.xml.internal.ws.api.pipe.ClientPipeAssemblerContext;
|
||||
|
||||
/**
|
||||
* Allow the container (primarily Glassfish) to inject
|
||||
* their own pipes into the client pipeline.
|
||||
*
|
||||
* <p>
|
||||
* This interface has a rather ad-hoc set of methods, because
|
||||
* we didn't want to define an autonomous pipe-assembly process.
|
||||
* (We thought this is a smaller evil compared to that.)
|
||||
*
|
||||
* <p>
|
||||
* JAX-WS obtains this through {@link com.sun.xml.internal.ws.api.server.Container#getSPI(Class)}.
|
||||
*
|
||||
* @author Jitendra Kotamraju
|
||||
*/
|
||||
public abstract class ClientPipelineHook {
|
||||
|
||||
/**
|
||||
* Called during the pipeline construction process once to allow a container
|
||||
* to register a pipe for security.
|
||||
*
|
||||
* This pipe will be injected to a point very close to the transport, allowing
|
||||
* it to do some security operations.
|
||||
*
|
||||
* @param ctxt
|
||||
* Represents abstraction of SEI, WSDL abstraction etc. Context can be used
|
||||
* whether add a new pipe to the head or not.
|
||||
*
|
||||
* @param tail
|
||||
* Head of the partially constructed pipeline. If the implementation
|
||||
* wishes to add new pipes, it should do so by extending
|
||||
* {@link com.sun.xml.internal.ws.api.pipe.helper.AbstractFilterPipeImpl} and making sure that this {@link com.sun.xml.internal.ws.api.pipe.Pipe}
|
||||
* eventually processes messages.
|
||||
*
|
||||
* @return
|
||||
* The default implementation just returns <tt>tail</tt>, which means
|
||||
* no additional pipe is inserted. If the implementation adds
|
||||
* new pipes, return the new head pipe.
|
||||
*/
|
||||
public @NotNull Pipe createSecurityPipe(ClientPipeAssemblerContext ctxt, @NotNull Pipe tail) {
|
||||
return tail;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import com.sun.xml.internal.ws.api.FeatureConstructor;
|
||||
|
||||
import javax.xml.ws.WebServiceFeature;
|
||||
|
||||
import com.sun.org.glassfish.gmbal.ManagedAttribute;
|
||||
import com.sun.org.glassfish.gmbal.ManagedData;
|
||||
|
||||
/**
|
||||
* Client side feature to enable or disable the selection of the optimal
|
||||
* encoding by the client when sending outbound messages.
|
||||
* <p>
|
||||
* The following describes the affects of this feature with respect
|
||||
* to being enabled or disabled:
|
||||
* <ul>
|
||||
* <li> ENABLED: In this Mode, the most optimal encoding will be selected
|
||||
* depending on the configuration and capabilities of the client
|
||||
* the capabilities of the Web service.
|
||||
* <li> DISABLED: In this Mode, the default encoding will be selected.
|
||||
* </ul>
|
||||
* <p>
|
||||
* If this feature is not present on a Web service then the default behaviour
|
||||
* is equivalent to this feature being present and disabled.
|
||||
* <p>
|
||||
* If this feature is enabled by the client and the Service supports the
|
||||
* Fast Infoset encoding, as specified by the {@link com.sun.xml.internal.ws.api.fastinfoset.FastInfosetFeature},
|
||||
* and Fast Infoset is determined to be the most optimal encoding, then the
|
||||
* Fast Infoset encoding will be automatically selected by the client.
|
||||
* <p>
|
||||
* TODO: Still not sure if a feature is a server side only thing or can
|
||||
* also be a client side thing. If the former then this class should be
|
||||
* removed.
|
||||
* @author Paul.Sandoz@Sun.Com
|
||||
*/
|
||||
@ManagedData
|
||||
public class SelectOptimalEncodingFeature extends WebServiceFeature {
|
||||
/**
|
||||
* Constant value identifying the {@link SelectOptimalEncodingFeature}
|
||||
*/
|
||||
public static final String ID = "http://java.sun.com/xml/ns/jaxws/client/selectOptimalEncoding";
|
||||
|
||||
/**
|
||||
* Create a {@link SelectOptimalEncodingFeature}.
|
||||
* The instance created will be enabled.
|
||||
*/
|
||||
public SelectOptimalEncodingFeature() {
|
||||
this.enabled = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a {@link SelectOptimalEncodingFeature}
|
||||
*
|
||||
* @param enabled specifies whether this feature should
|
||||
* be enabled or not.
|
||||
*/
|
||||
@FeatureConstructor({"enabled"})
|
||||
public SelectOptimalEncodingFeature(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@ManagedAttribute
|
||||
public String getID() {
|
||||
return ID;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import com.sun.istack.internal.NotNull;
|
||||
import com.sun.istack.internal.Nullable;
|
||||
import com.sun.xml.internal.ws.api.BindingID;
|
||||
import com.sun.xml.internal.ws.api.WSBinding;
|
||||
import com.sun.xml.internal.ws.api.WSFeatureList;
|
||||
import com.sun.xml.internal.ws.api.WSService;
|
||||
import com.sun.xml.internal.ws.developer.WSBindingProvider;
|
||||
|
||||
import javax.xml.ws.BindingProvider;
|
||||
import javax.xml.ws.Dispatch;
|
||||
import javax.xml.ws.WebServiceFeature;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Interception point for inner working of {@link WSService}.
|
||||
*
|
||||
* <p>
|
||||
* System-level code could hook an implementation of this to
|
||||
* {@link WSService} to augument its behavior.
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
* @since 2.1 EA3
|
||||
* @see ServiceInterceptorFactory
|
||||
*/
|
||||
public abstract class ServiceInterceptor {
|
||||
/**
|
||||
* Called before {@link WSBinding} is created, to allow interceptors
|
||||
* to add {@link WebServiceFeature}s to the created {@link WSBinding}.
|
||||
*
|
||||
* @param port
|
||||
* Information about the port for which dispatch/proxy will be created.
|
||||
* @param serviceEndpointInterface
|
||||
* Null if the created binding is for {@link Dispatch}. Otheriwse
|
||||
* it represents the port interface of the proxy to be created.
|
||||
* @param defaultFeatures
|
||||
* The list of features that are currently scheduled to be set for
|
||||
* the newly created {@link WSBinding}.
|
||||
*
|
||||
* @return
|
||||
* A set of features to be added to the newly created {@link WSBinding}.
|
||||
* Can be empty but never null.
|
||||
* <tt>defaultFeatures</tt> will take precedence over what this method
|
||||
* would return (because it includes user-specified ones which will
|
||||
* take the at-most priority), but features you return from this method
|
||||
* will take precedence over {@link BindingID}'s
|
||||
* {@link BindingID#createBuiltinFeatureList() implicit features}.
|
||||
*/
|
||||
public List<WebServiceFeature> preCreateBinding(@NotNull WSPortInfo port, @Nullable Class<?> serviceEndpointInterface, @NotNull WSFeatureList defaultFeatures) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
/**
|
||||
* A callback to notify the event of creation of proxy object for SEI endpoint. The
|
||||
* callback could set some properties on the {@link BindingProvider}.
|
||||
*
|
||||
* @param bp created proxy instance
|
||||
* @param serviceEndpointInterface SEI of the endpoint
|
||||
*/
|
||||
public void postCreateProxy(@NotNull WSBindingProvider bp,@NotNull Class<?> serviceEndpointInterface) {
|
||||
}
|
||||
|
||||
/**
|
||||
* A callback to notify that a {@link Dispatch} object is created. The callback
|
||||
* could set some properties on the {@link BindingProvider}.
|
||||
*
|
||||
* @param bp BindingProvider of dispatch object
|
||||
*/
|
||||
public void postCreateDispatch(@NotNull WSBindingProvider bp) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Aggregates multiple interceptors into one facade.
|
||||
*/
|
||||
public static ServiceInterceptor aggregate(final ServiceInterceptor... interceptors) {
|
||||
if(interceptors.length==1)
|
||||
return interceptors[0];
|
||||
return new ServiceInterceptor() {
|
||||
public List<WebServiceFeature> preCreateBinding(@NotNull WSPortInfo port, @Nullable Class<?> portInterface, @NotNull WSFeatureList defaultFeatures) {
|
||||
List<WebServiceFeature> r = new ArrayList<WebServiceFeature>();
|
||||
for (ServiceInterceptor si : interceptors)
|
||||
r.addAll(si.preCreateBinding(port,portInterface,defaultFeatures));
|
||||
return r;
|
||||
}
|
||||
|
||||
public void postCreateProxy(@NotNull WSBindingProvider bp, @NotNull Class<?> serviceEndpointInterface) {
|
||||
for (ServiceInterceptor si : interceptors)
|
||||
si.postCreateProxy(bp,serviceEndpointInterface);
|
||||
}
|
||||
|
||||
public void postCreateDispatch(@NotNull WSBindingProvider bp) {
|
||||
for (ServiceInterceptor si : interceptors)
|
||||
si.postCreateDispatch(bp);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import com.sun.istack.internal.NotNull;
|
||||
import com.sun.istack.internal.Nullable;
|
||||
import com.sun.xml.internal.ws.api.WSService;
|
||||
import com.sun.xml.internal.ws.util.ServiceFinder;
|
||||
|
||||
import javax.xml.ws.Service;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Creates {@link ServiceInterceptor}.
|
||||
*
|
||||
* <p>
|
||||
* Code that wishes to inject {@link ServiceInterceptor} into {@link WSService}
|
||||
* must implement this class. There are two ways to have the JAX-WS RI
|
||||
* recognize your {@link ServiceInterceptor}s.
|
||||
*
|
||||
* <h3>Use {@link ServiceFinder}</h3>
|
||||
* <p>
|
||||
* {@link ServiceInterceptorFactory}s discovered via {@link ServiceFinder}
|
||||
* will be incorporated to all {@link WSService} instances.
|
||||
*
|
||||
* <h3>Register per-thread</h3>
|
||||
*
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
* @see ServiceInterceptor
|
||||
* @see 2.1 EA3
|
||||
*/
|
||||
public abstract class ServiceInterceptorFactory {
|
||||
public abstract ServiceInterceptor create(@NotNull WSService service);
|
||||
|
||||
/**
|
||||
* Loads all {@link ServiceInterceptor}s and return aggregated one.
|
||||
*/
|
||||
public static @NotNull ServiceInterceptor load(@NotNull WSService service, @Nullable ClassLoader cl) {
|
||||
List<ServiceInterceptor> l = new ArrayList<ServiceInterceptor>();
|
||||
|
||||
// first service look-up
|
||||
for( ServiceInterceptorFactory f : ServiceFinder.find(ServiceInterceptorFactory.class))
|
||||
l.add(f.create(service));
|
||||
|
||||
// then thread-local
|
||||
for( ServiceInterceptorFactory f : threadLocalFactories.get())
|
||||
l.add(f.create(service));
|
||||
|
||||
return ServiceInterceptor.aggregate(l.toArray(new ServiceInterceptor[l.size()]));
|
||||
}
|
||||
|
||||
private static ThreadLocal<Set<ServiceInterceptorFactory>> threadLocalFactories = new ThreadLocal<Set<ServiceInterceptorFactory>>() {
|
||||
protected Set<ServiceInterceptorFactory> initialValue() {
|
||||
return new HashSet<ServiceInterceptorFactory>();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Registers {@link ServiceInterceptorFactory} for this thread.
|
||||
*
|
||||
* <p>
|
||||
* Once registered, {@link ServiceInterceptorFactory}s are consulted for every
|
||||
* {@link Service} created in this thread, until it gets unregistered.
|
||||
*/
|
||||
public static boolean registerForThread(ServiceInterceptorFactory factory) {
|
||||
return threadLocalFactories.get().add(factory);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes previously registered {@link ServiceInterceptorFactory} for this thread.
|
||||
*/
|
||||
public static boolean unregisterForThread(ServiceInterceptorFactory factory) {
|
||||
return threadLocalFactories.get().remove(factory);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import javax.xml.ws.WebServiceFeature;
|
||||
import javax.xml.ws.Dispatch;
|
||||
|
||||
import com.sun.xml.internal.ws.api.pipe.ThrowableContainerPropertySet;
|
||||
|
||||
/**
|
||||
* When using {@link Dispatch}<{@link Packet}> and the invocation completes with a Throwable, it is
|
||||
* useful to be able to inspect the Packet in addition to the Throwable as the Packet contains
|
||||
* meta-data about the request and/or response. However, the default behavior is that the caller
|
||||
* only receives the Throwable.
|
||||
*
|
||||
* When an instance of this feature is enabled on the binding, any Throwable generated will be available
|
||||
* on the Packet on the satellite {@link ThrowableContainerPropertySet}.
|
||||
*
|
||||
* @see ThrowableContainerPropertySet
|
||||
*/
|
||||
public class ThrowableInPacketCompletionFeature extends WebServiceFeature {
|
||||
|
||||
public ThrowableInPacketCompletionFeature() {
|
||||
this.enabled = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getID() {
|
||||
return ThrowableInPacketCompletionFeature.class.getName();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
package com.sun.xml.internal.ws.api.client;
|
||||
|
||||
import com.sun.istack.internal.NotNull;
|
||||
import com.sun.istack.internal.Nullable;
|
||||
import com.sun.xml.internal.ws.api.BindingID;
|
||||
import com.sun.xml.internal.ws.api.EndpointAddress;
|
||||
import com.sun.xml.internal.ws.api.WSService;
|
||||
import com.sun.xml.internal.ws.api.model.wsdl.WSDLPort;
|
||||
import com.sun.xml.internal.ws.policy.PolicyMap;
|
||||
|
||||
import javax.xml.ws.handler.PortInfo;
|
||||
|
||||
/**
|
||||
* JAX-WS RI's extension to {@link PortInfo}.
|
||||
*
|
||||
* @author Kohsuke Kawaguchi
|
||||
*/
|
||||
public interface WSPortInfo extends PortInfo {
|
||||
/**
|
||||
* Returns {@link WSService} object that owns this port.
|
||||
*/
|
||||
@NotNull WSService getOwner();
|
||||
|
||||
/**
|
||||
* Returns the same information as {@link #getBindingID()}
|
||||
* but in a strongly-typed fashion
|
||||
*/
|
||||
@NotNull BindingID getBindingId();
|
||||
|
||||
/**
|
||||
* Gets the endpoint address of this port.
|
||||
*/
|
||||
@NotNull EndpointAddress getEndpointAddress();
|
||||
|
||||
/**
|
||||
* Gets the {@link WSDLPort} object that represents this port,
|
||||
* if {@link WSService} is configured with WSDL. Otherwise null.
|
||||
*/
|
||||
@Nullable WSDLPort getPort();
|
||||
|
||||
/**
|
||||
* Gives the PolicMap that captures the Policy for the PortInfo
|
||||
*
|
||||
* @return PolicyMap
|
||||
*
|
||||
* @deprecated
|
||||
* Do not use this method as the PolicyMap API is not final yet and might change in next few months.
|
||||
*/
|
||||
|
||||
public PolicyMap getPolicyMap();
|
||||
}
|
||||
Reference in New Issue
Block a user