Tabnine Logo
EndpointImpl.getProperties
Code IndexAdd Tabnine to your IDE (free)

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

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

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: apache/cxf

protected void run() {
  EndpointImpl endpointImpl = (EndpointImpl)Endpoint.publish(ADDRESS, new MTOMServer());
  endpointImpl.getProperties().put(Message.CONTENT_TRANSFER_ENCODING, "base64");
}
public static void main(String[] args) {
origin: Talend/tesb-rt-se

endpoint.getProperties().put(NULL_MEANS_ONEWAY, Boolean.TRUE);
if (cbInterfaceName != null) {
  endpoint.setEndpointName(serverFactory.getEndpointName());
origin: org.kie.remote/kie-remote-client

public static Endpoint setupCommandServiceEndpoint( String address, CommandWebService webServiceImpl ) {
  EndpointImpl ep = (EndpointImpl) Endpoint.create(webServiceImpl);
  ep.setAddress(address);
  ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new TestServerPasswordCallback());
  ep.publish();
  return ep;
}
origin: org.jboss.ws.cxf/jbossws-cxf-jaspi

String securityDomain = (String) endpointImpl.getProperties().get(JaspiServerAuthenticator.JASPI_SECURITY_DOMAIN);
if (securityDomain == null)
origin: Talend/tesb-rt-se

policyFeature.setPolicies(policies);
Map<String, Object> properties = serviceEndpoint.getProperties();
if (null == properties) {
  properties = new HashMap<String, Object>();
origin: org.talend.esb.sam.service/sam-service-soap

policyFeature.setPolicies(policies);
Map<String, Object> properties = serviceEndpoint.getProperties();
if (null == properties) {
  properties = new HashMap<String, Object>();
origin: apache/cxf

protected void run() {
  Object implementor = new TestMtomImpl();
  String address = "http://localhost:" + PORT + "/mime-test";
  String addressProvider = "http://localhost:" + PORT + "/mime-test-provider";
  try {
    jaxep = (EndpointImpl) javax.xml.ws.Endpoint.publish(address, implementor);
    Endpoint ep = jaxep.getServer().getEndpoint();
    ep.getInInterceptors().add(new TestMultipartMessageInterceptor());
    ep.getOutInterceptors().add(new TestAttachmentOutInterceptor());
    jaxep.getInInterceptors().add(new LoggingInInterceptor());
    jaxep.getOutInterceptors().add(new LoggingOutInterceptor());
    SOAPBinding jaxWsSoapBinding = (SOAPBinding) jaxep.getBinding();
    jaxWsSoapBinding.setMTOMEnabled(true);
    EndpointImpl endpoint =
      (EndpointImpl)javax.xml.ws.Endpoint.publish(addressProvider, new TestMtomProviderImpl());
    endpoint.getProperties().put("schema-validation-enabled", "true");
    endpoint.getInInterceptors().add(new LoggingInInterceptor());
    endpoint.getOutInterceptors().add(new LoggingOutInterceptor());
  } catch (Exception e) {
    Thread.currentThread().interrupt();
  }
}
public void tearDown() {
origin: roskart/dropwizard-jaxws

cxfendpoint.getProperties().putAll(
    endpointBuilder.getProperties());
org.apache.cxf.jaxwsEndpointImplgetProperties

Popular methods of EndpointImpl

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

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Kernel (java.awt.image)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now