org.apache.cxf.binding.corba
Class CorbaBindingFactory

java.lang.Object
  extended by org.apache.cxf.binding.AbstractBaseBindingFactory
      extended by org.apache.cxf.binding.AbstractBindingFactory
          extended by org.apache.cxf.binding.corba.CorbaBindingFactory
All Implemented Interfaces:
BindingFactory, ConduitInitiator, DestinationFactory, WSDLBindingFactory

public class CorbaBindingFactory
extends AbstractBindingFactory
implements ConduitInitiator, DestinationFactory


Field Summary
static Collection<String> DEFAULT_NAMESPACES
           
protected  OrbConfig orbConfig
           
protected  List<String> transportIds
           
 
Fields inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
activationNamespaces, bus
 
Constructor Summary
CorbaBindingFactory(Bus b)
           
 
Method Summary
 Binding createBinding(BindingInfo bindingInfo)
          Create a Binding from the BindingInfo metadata.
 Conduit getConduit(EndpointInfo endpointInfo)
          Initiate an outbound Conduit.
 Conduit getConduit(EndpointInfo endpointInfo, EndpointReferenceType target)
          Initiate an outbound Conduit.
 Destination getDestination(EndpointInfo endpointInfo)
          Create a destination.
 OrbConfig getOrbConfig()
           
 List<String> getTransportIds()
           
 Set<String> getUriPrefixes()
           
 void setOrbArgs(List<String> args)
           
 void setOrbClass(String cls)
           
 void setOrbConfig(OrbConfig config)
           
 void setOrbSingletonClass(String cls)
           
 void setTransportIds(List<String> ids)
           
 
Methods inherited from class org.apache.cxf.binding.AbstractBindingFactory
addMessageFromBinding, createBindingInfo, initializeBindingInfo
 
Methods inherited from class org.apache.cxf.binding.AbstractBaseBindingFactory
addListener, createBindingInfo, createBindingInfo, getActivationNamespaces, getBus, setActivationNamespaces, setBus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.binding.BindingFactory
addListener, createBindingInfo
 

Field Detail

DEFAULT_NAMESPACES

public static final Collection<String> DEFAULT_NAMESPACES

transportIds

protected List<String> transportIds

orbConfig

protected OrbConfig orbConfig
Constructor Detail

CorbaBindingFactory

public CorbaBindingFactory(Bus b)
Method Detail

setOrbClass

public void setOrbClass(String cls)

setOrbSingletonClass

public void setOrbSingletonClass(String cls)

createBinding

public Binding createBinding(BindingInfo bindingInfo)
Description copied from interface: BindingFactory
Create a Binding from the BindingInfo metadata.

Specified by:
createBinding in interface BindingFactory
Returns:
the Binding object

getConduit

public Conduit getConduit(EndpointInfo endpointInfo)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
endpointInfo - the endpoint info of the target
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

getConduit

public Conduit getConduit(EndpointInfo endpointInfo,
                          EndpointReferenceType target)
                   throws IOException
Description copied from interface: ConduitInitiator
Initiate an outbound Conduit.

Specified by:
getConduit in interface ConduitInitiator
Parameters:
endpointInfo - the endpoint info for a local endpoint on which the the configuration should be based
target - the target EPR
Returns:
a suitable new or pre-existing Conduit
Throws:
IOException

getDestination

public Destination getDestination(EndpointInfo endpointInfo)
                           throws IOException
Description copied from interface: DestinationFactory
Create a destination.

Specified by:
getDestination in interface DestinationFactory
Parameters:
endpointInfo - the endpoint info of the destination.
Returns:
the created Destination.
Throws:
IOException

getTransportIds

public List<String> getTransportIds()
Specified by:
getTransportIds in interface ConduitInitiator
Specified by:
getTransportIds in interface DestinationFactory

setTransportIds

public void setTransportIds(List<String> ids)

setOrbArgs

public void setOrbArgs(List<String> args)

getUriPrefixes

public Set<String> getUriPrefixes()
Specified by:
getUriPrefixes in interface ConduitInitiator
Specified by:
getUriPrefixes in interface DestinationFactory

getOrbConfig

public OrbConfig getOrbConfig()

setOrbConfig

public void setOrbConfig(OrbConfig config)


Apache CXF