Codota Logo
EndpointImpl.setFeatures
Code IndexAdd Codota to your IDE (free)

How to use
setFeatures
method
in
org.apache.cxf.jaxws.EndpointImpl

Best Java code snippets using org.apache.cxf.jaxws.EndpointImpl.setFeatures (Showing top 4 results out of 315)

  • Common ways to obtain EndpointImpl
private void myMethod () {
EndpointImpl e =
  • Codota IconObject implementor;(EndpointImpl) Endpoint.create(implementor)
  • Smart code suggestions by Codota
}
origin: Talend/tesb-rt-se

public static void setupEndpoint(final Endpoint endpoint) {
  if (!(endpoint instanceof EndpointImpl)) {
    throw new IllegalArgumentException("Only CXF JAX-WS endpoints supported. ");
  }
  final EndpointImpl ep = (EndpointImpl) endpoint;
  final List<Feature> features = new ArrayList<Feature>();
  features.add(new RequestCallbackFeature());
  if (logging) {
    features.add(new LoggingFeature());
  }
  if (serviceActivityMonitoring) {
    features.add(getEventFeature());
  }
  if (ep.getFeatures() != null) {
    features.addAll(ep.getFeatures());
  }
  ep.setFeatures(features);
  ep.getProperties().put(NULL_MEANS_ONEWAY, Boolean.TRUE);
}
origin: Talend/tesb-rt-se

public Endpoint configureEndpoint(Endpoint endpoint) {
  if (jmsConfiguration == null || !(endpoint instanceof EndpointImpl) ||
      (serviceName == null && configuration == null)) {
    return null;
  }
  if (!jmsConfigured) {
    setupJmsConfiguration();
  }
  final EndpointImpl ei = (EndpointImpl) endpoint;
  final JMSConfigFeature feature = new JMSConfigFeature();
  feature.setJmsConfig(jmsConfiguration);
  List<Feature> features = ei.getFeatures();
  if (features == null) {
    features = new ArrayList<Feature>();
  }
  features.add(feature);
  ei.setFeatures(features);
  return endpoint;
}
origin: Talend/tesb-rt-se

endpoint.setFeatures(features);
endpoint.getProperties().put(NULL_MEANS_ONEWAY, Boolean.TRUE);
if (cbInterfaceName != null) {
origin: apache/cxf

@BeforeClass
public static void startServers() throws Exception {
  startBusAndJMS(JMSTransactionTest.class);
  //startBusAndJMS("tcp://localhost:61616");
  endpoint = new EndpointImpl(bus, new GreeterImplWithTransaction());
  endpoint.setAddress(SERVICE_ADDRESS);
  endpoint.setFeatures(Collections.singletonList(cff));
  endpoint.publish();
}
org.apache.cxf.jaxwsEndpointImplsetFeatures

Popular methods of EndpointImpl

  • publish
  • <init>
  • setWsdlLocation
  • setServiceName
  • getInInterceptors
  • getServer
  • getFeatures
  • getOutInterceptors
  • stop
  • getProperties
  • setAddress
  • setEndpointName
  • setAddress,
  • setEndpointName,
  • getOutFaultInterceptors,
  • getBinding,
  • getService,
  • doPublish,
  • getAddress,
  • getServerFactory,
  • setImplementorClass

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getApplicationContext (Context)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now