Codota Logo
JBossWSBusFactory.createBus
Code IndexAdd Codota to your IDE (free)

How to use
createBus
method
in
org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFactory

Best Java code snippets using org.jboss.wsf.stack.cxf.client.configuration.JBossWSBusFactory.createBus (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.jboss.ws.cxf/jbossws-cxf-client

public Bus createNewBus() {
 return new JBossWSBusFactory().createBus();
}
origin: org.jboss.ws.cxf/jbossws-cxf-server

public BusHolder(DDBeans metadata)
{
 super();
 this.metadata = metadata;
 bus = new JBossWSBusFactory().createBus();
 //Force servlet transport to prevent CXF from using Jetty / http server or other transports
 bus.setExtension(new ServletDestinationFactory(), HttpDestinationFactory.class);
}
origin: org.jboss.ws.cxf/jbossws-cxf-client

/**
* Gets the default bus for the given classloader
* 
* @param classloader
* @return
*/
public static Bus getClassLoaderDefaultBus(final ClassLoader classloader) {
 Bus classLoaderBus;
 synchronized (classLoaderBusses) {
   classLoaderBus = classLoaderBusses.get(classloader);
   if (classLoaderBus == null) {
    classLoaderBus = new JBossWSBusFactory().createBus();
    //register a listener for cleaning up the bus from the classloader association in the JBossWSBusFactory
    BusLifeCycleListener listener = new ClassLoaderDefaultBusLifeCycleListener(classLoaderBus);
    classLoaderBus.getExtension(BusLifeCycleManager.class).registerLifeCycleListener(listener);
    classLoaderBusses.put(classloader, classLoaderBus);
   }
 }
 return classLoaderBus;
}
org.jboss.wsf.stack.cxf.client.configurationJBossWSBusFactorycreateBus

Popular methods of JBossWSBusFactory

  • <init>
  • getDefaultBus
    Gets (and internally sets) the default bus after having set the thread context class loader to the p
  • clearDefaultBusForAnyClassLoader
    Removes a bus from being the default bus for any classloader
  • getClassLoaderDefaultBus
    Gets the default bus for the given classloader; if a new Bus is needed, the creation is delegated to
  • initializeBus
  • newInstance
  • possiblySetDefaultBus

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
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