/** * Using this feature, the application could override the binding used by * the runtime(usually determined from WSDL). * * @author Jitendra Kotamraju */ @ManagedData public final class BindingTypeFeature extends WebServiceFeature { public static final String ID = "http://jax-ws.dev.java.net/features/binding"; private final String bindingId; public BindingTypeFeature(String bindingId) { this.bindingId = bindingId; } @ManagedAttribute public String getID() { return ID; } @ManagedAttribute public String getBindingId() { return bindingId; } }
@ManagedData private static class MyStats implements Stats { final Map<String, DeployedEndpointData> endpoints = new HashMap<String, DeployedEndpointData>(); final DeployedEndpointData[] data; MyStats(Map<String, DeployedEndpointData> curEndpoints) { endpoints.putAll(curEndpoints); // Take a snapshot of current endpoints data = this.endpoints.values().toArray(new DeployedEndpointData[endpoints.size()]); } public Statistic getStatistic(String s) { return endpoints.get(s); } public String[] getStatisticNames() { Set<String> names = endpoints.keySet(); return names.toArray(new String[names.size()]); } @ManagedAttribute public DeployedEndpointData[] getStatistics() { return data; } }
/** * Designates a stateful {@link WebService}. * A service class that has this feature on will behave as a stateful web service. * * @since 2.1 * @see StatefulWebServiceManager */ @ManagedData public class StatefulFeature extends WebServiceFeature implements StickyFeature { /** * Constant value identifying the StatefulFeature */ public static final String ID = "http://jax-ws.dev.java.net/features/stateful"; /** * Create an <code>StatefulFeature</code>. * The instance created will be enabled. */ @FeatureConstructor public StatefulFeature() { this.enabled = true; } @ManagedAttribute public String getID() { return ID; } }
/** * Using this feature, the application could override the binding used by * the runtime(usually determined from WSDL). * * @author Jitendra Kotamraju */ @ManagedData public final class BindingTypeFeature extends WebServiceFeature { public static final String ID = "http://jax-ws.dev.java.net/features/binding"; private final String bindingId; public BindingTypeFeature(String bindingId) { this.bindingId = bindingId; } @ManagedAttribute public String getID() { return ID; } @ManagedAttribute public String getBindingId() { return bindingId; } }
/** * WebServiceFeature for the Tubeline {@link javax.xml.ws.WebServiceFeature} * * @author Fabian Ritzmann */ @ManagedData public class TubelineFeature extends WebServiceFeature { public static final String ID = "com.sun.xml.ws.runtime.config.TubelineFeature"; @FeatureConstructor({ "enabled" }) public TubelineFeature(boolean enabled) { super.enabled = enabled; } @Override @ManagedAttribute public String getID() { return ID; } // TODO implement List<String> getTubeFactories() { return null; } }
/** * WebServiceFeature for the Tubeline {@link javax.xml.ws.WebServiceFeature} * * @author Fabian Ritzmann */ @ManagedData public class TubelineFeature extends WebServiceFeature { public static final String ID = "com.sun.xml.ws.runtime.config.TubelineFeature"; @FeatureConstructor({ "enabled" }) public TubelineFeature(boolean enabled) { super.enabled = enabled; } @Override @ManagedAttribute public String getID() { return ID; } // TODO implement List<String> getTubeFactories() { return null; } }
/** * Using this feature, the application could override the binding used by * the runtime(usually determined from WSDL). * * @author Jitendra Kotamraju */ @ManagedData public final class BindingTypeFeature extends WebServiceFeature { public static final String ID = "http://jax-ws.dev.java.net/features/binding"; private final String bindingId; public BindingTypeFeature(String bindingId) { this.bindingId = bindingId; } @ManagedAttribute public String getID() { return ID; } @ManagedAttribute public String getBindingId() { return bindingId; } }
/** * WebServiceFeature for the Tubeline {@link javax.xml.ws.WebServiceFeature} * * @author Fabian Ritzmann */ @ManagedData public class TubelineFeature extends WebServiceFeature { public static final String ID = "com.sun.xml.ws.runtime.config.TubelineFeature"; @FeatureConstructor({ "enabled" }) public TubelineFeature(boolean enabled) { super.enabled = enabled; } @Override @ManagedAttribute public String getID() { return ID; } // TODO implement List<String> getTubeFactories() { return null; } }
/** * Designates a stateful {@link WebService}. * A service class that has this feature on will behave as a stateful web service. * * @since 2.1 * @see StatefulWebServiceManager */ @ManagedData public class StatefulFeature extends WebServiceFeature implements StickyFeature { /** * Constant value identifying the StatefulFeature */ public static final String ID = "http://jax-ws.dev.java.net/features/stateful"; /** * Create an <code>StatefulFeature</code>. * The instance created will be enabled. */ @FeatureConstructor public StatefulFeature() { this.enabled = true; } @ManagedAttribute public String getID() { return ID; } }
/** * Designates a stateful {@link WebService}. * A service class that has this feature on will behave as a stateful web service. * * @since 2.1 * @see StatefulWebServiceManager */ @ManagedData public class StatefulFeature extends WebServiceFeature implements StickyFeature { /** * Constant value identifying the StatefulFeature */ public static final String ID = "http://jax-ws.dev.java.net/features/stateful"; /** * Create an <code>StatefulFeature</code>. * The instance created will be enabled. */ @FeatureConstructor public StatefulFeature() { this.enabled = true; } @ManagedAttribute public String getID() { return ID; } }
@ManagedData public class SelectOptimalEncodingFeature extends WebServiceFeature {
@ManagedData public final class CallbackHandlerFeature extends WebServiceFeature { private final CallbackHandler handler;
@ManagedData public class FastInfosetFeature extends WebServiceFeature {
@ManagedData public class FastInfosetFeature extends WebServiceFeature {
@ManagedData public class SelectOptimalEncodingFeature extends WebServiceFeature {
@ManagedData public class FastInfosetFeature extends WebServiceFeature {
@ManagedData public final class MessageDumpingFeature extends WebServiceFeature {
@ManagedData public final class MessageDumpingFeature extends WebServiceFeature {
@ManagedData public final class StreamingAttachmentFeature extends WebServiceFeature {
@ManagedData public class SchemaValidationFeature extends WebServiceFeature {