org.apache.cxf.transport.http.osgi
Class HTTPTransportActivator
java.lang.Object
org.apache.cxf.transport.http.osgi.HTTPTransportActivator
- All Implemented Interfaces:
- HTTPConduitConfigurer
public class HTTPTransportActivator
- extends Object
- implements HTTPConduitConfigurer
This class registers a HTTPConduitConfigurer that will pull information from the
config:admin service to configure conduits. With the Felix file based impl, the
format for that would be in files named org.apache.cxf.http.conduits-XYZ.cfg
that has a list of properties like:
url: Regex url to match the configuration
order: Integer order in which to apply the regex's when multiple regex's match.
client.*
tlsClientParameters.*
proxyAuthorization.*
authorization.*
Where each of those is a prefix for the attributes that would be on the elements
of the http:conduit configuration defined at:
http://cxf.apache.org/schemas/configuration/http-conf.xsd
For example:
client.ReceiveTimeout: 1000
authorization.Username: Foo
tlsClientParameters.keyManagers.keyStore.file: mykeys.jks
etc....
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY_PID
public static final String FACTORY_PID
- See Also:
- Constant Field Values
HTTPTransportActivator
public HTTPTransportActivator()
start
public void start(BundleContext context)
throws Exception
- Throws:
Exception
stop
public void stop(BundleContext context)
throws Exception
- Throws:
Exception
getName
public String getName()
updated
public void updated(String pid,
Dictionary properties)
throws ConfigurationException
- Throws:
ConfigurationException
deleted
public void deleted(String pid)
configure
public void configure(String name,
String address,
HTTPConduit c)
- Specified by:
configure
in interface HTTPConduitConfigurer
Apache CXF