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

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

Best Java code snippets using org.apache.cxf.jaxws.EndpointImpl.getServerFactory (Showing top 5 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: org.apache.cxf/cxf-rt-frontend-jaxws

public static final void setBlocking(ApplicationContext ctx, EndpointImpl impl) {
  AutowireCapableBeanFactory fact = ctx.getAutowireCapableBeanFactory();
  if (fact instanceof DefaultListableBeanFactory) {
    DefaultListableBeanFactory dlbf = (DefaultListableBeanFactory)fact;
    for (BeanPostProcessor bpp : dlbf.getBeanPostProcessors()) {
      if (CommonAnnotationBeanPostProcessor.class.isInstance(bpp)) {
        impl.getServerFactory().setBlockPostConstruct(true);
        impl.getServerFactory().setBlockInjection(false);
        return;
      }
      if (bpp instanceof Jsr250BeanPostProcessor) {
        impl.getServerFactory().setBlockInjection(true);
      }
    }
  }
}
origin: org.apache.cxf/cxf-rt-frontend-jaxws

public void publish(javax.xml.ws.spi.http.HttpContext context) {
  ServerFactoryBean sf = getServerFactory();
  if (sf.getDestinationFactory() == null) {
    sf.setDestinationFactory(new JAXWSHttpSpiTransportFactory(context));
  }
  publish(context.getPath());
}
origin: apache/cxf

public static final void setBlocking(ApplicationContext ctx, EndpointImpl impl) {
  AutowireCapableBeanFactory fact = ctx.getAutowireCapableBeanFactory();
  if (fact instanceof DefaultListableBeanFactory) {
    DefaultListableBeanFactory dlbf = (DefaultListableBeanFactory)fact;
    for (BeanPostProcessor bpp : dlbf.getBeanPostProcessors()) {
      if (CommonAnnotationBeanPostProcessor.class.isInstance(bpp)) {
        impl.getServerFactory().setBlockPostConstruct(true);
        impl.getServerFactory().setBlockInjection(false);
        return;
      }
      if (bpp instanceof Jsr250BeanPostProcessor) {
        impl.getServerFactory().setBlockInjection(true);
      }
    }
  }
}
origin: apache/cxf

public void publish(javax.xml.ws.spi.http.HttpContext context) {
  ServerFactoryBean sf = getServerFactory();
  if (sf.getDestinationFactory() == null) {
    sf.setDestinationFactory(new JAXWSHttpSpiTransportFactory(context));
  }
  publish(context.getPath());
}
origin: org.jboss.ws.cxf/jbossws-cxf-server

@Override
protected void doPublish(String addr)
{
 super.getServerFactory().setBlockPostConstruct(true);
 super.doPublish(addr);
 //allow for configuration so that the wsdlPublisher can be set be the JBossWSCXFConfigurer
 configureObject(this);
 setupConfigHandlers();
 //publish the wsdl to data/wsdl
 publishContractToFilesystem();
}
org.apache.cxf.jaxwsEndpointImplgetServerFactory

Popular methods of EndpointImpl

  • publish
  • <init>
  • setWsdlLocation
  • setServiceName
  • getInInterceptors
  • getServer
  • getFeatures
  • getOutInterceptors
  • stop
  • getProperties
  • setAddress
  • setEndpointName
  • setAddress,
  • setEndpointName,
  • getOutFaultInterceptors,
  • getBinding,
  • getService,
  • doPublish,
  • getAddress,
  • setFeatures,
  • 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