|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaxis.dynamic.SoapConfiguration
public abstract class SoapConfiguration
abstract base class for dynamic Axis EngineConfiguration
s.
Field Summary | |
---|---|
protected org.apache.axis.AxisEngine |
_engine
reference to the engine that uses this configuration, set in configureEngine(org.apache.axis.AxisEngine) |
protected Hashtable<String,String> |
_globalOptions
synchronization shouldn't be necessary, it's a Hashtable and only modified on startup |
protected org.apache.axis.Handler |
_globalRequest
the global request handler (may be a handler chain) |
protected org.apache.axis.Handler |
_globalResponse
the global response handler (may be a handler chain) |
protected org.apache.axis.encoding.TypeMappingRegistry |
_tmr
this will register the Axis default type mappings |
protected Map<QName,org.apache.axis.Handler> |
_transports
the transport handlers. |
Fields inherited from interface org.apache.axis.EngineConfiguration |
---|
PROPERTY_NAME |
Constructor Summary | |
---|---|
SoapConfiguration()
|
Method Summary | |
---|---|
void |
configureEngine(org.apache.axis.AxisEngine engine)
called from AxisEngine.init() . |
void |
deployTransport(String name,
org.apache.axis.Handler transport)
sets the transport for the given name |
Hashtable<String,String> |
getGlobalOptions()
Returns the global configuration options. |
org.apache.axis.Handler |
getGlobalRequest()
Returns a global request handler. |
org.apache.axis.Handler |
getGlobalResponse()
Returns a global response handler. |
org.apache.axis.Handler |
getHandler(QName qname)
We do not use handlers with a 'global' name, so this method always returns null. |
List<String> |
getRoles()
currently, we don't use roles, so this method always returns null. |
org.apache.axis.Handler |
getTransport(QName qname)
|
org.apache.axis.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
Get our TypeMappingRegistry. |
void |
setGlobalRequest(org.apache.axis.Handler globalRequest)
Set the global request Handler |
void |
setGlobalResponse(org.apache.axis.Handler globalResponse)
Set the global response Handler |
void |
undeployTransport(String name)
removes the transport for the given name |
void |
writeEngineConfig(org.apache.axis.AxisEngine engine)
We don't write ourselves out, so this is a no-op. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis.EngineConfiguration |
---|
getDeployedServices, getService, getServiceByNamespaceURI |
Field Detail |
---|
protected final Map<QName,org.apache.axis.Handler> _transports
protected final org.apache.axis.encoding.TypeMappingRegistry _tmr
protected org.apache.axis.Handler _globalRequest
protected org.apache.axis.Handler _globalResponse
protected org.apache.axis.AxisEngine _engine
configureEngine(org.apache.axis.AxisEngine)
protected final Hashtable<String,String> _globalOptions
Constructor Detail |
---|
public SoapConfiguration()
Method Detail |
---|
public void configureEngine(org.apache.axis.AxisEngine engine) throws org.apache.axis.ConfigurationException
AxisEngine.init()
. Note: when this method is called, the given engine already
has a reference to this object.
configureEngine
in interface org.apache.axis.EngineConfiguration
engine
-
org.apache.axis.ConfigurationException
EngineConfiguration.configureEngine(AxisEngine)
,
AxisEngine.init()
public void writeEngineConfig(org.apache.axis.AxisEngine engine)
writeEngineConfig
in interface org.apache.axis.EngineConfiguration
engine
- public Hashtable<String,String> getGlobalOptions()
getGlobalOptions
in interface org.apache.axis.EngineConfiguration
public org.apache.axis.Handler getGlobalRequest()
getGlobalRequest
in interface org.apache.axis.EngineConfiguration
public void setGlobalRequest(org.apache.axis.Handler globalRequest)
globalRequest
- (may be a handler chain)public org.apache.axis.Handler getGlobalResponse()
getGlobalResponse
in interface org.apache.axis.EngineConfiguration
public void setGlobalResponse(org.apache.axis.Handler globalResponse)
globalResponse
- (may be a handler chain)public org.apache.axis.Handler getHandler(QName qname)
getHandler
in interface org.apache.axis.EngineConfiguration
qname
-
EngineConfiguration.getHandler(QName)
public org.apache.axis.encoding.TypeMappingRegistry getTypeMappingRegistry()
getTypeMappingRegistry
in interface org.apache.axis.EngineConfiguration
public org.apache.axis.Handler getTransport(QName qname)
getTransport
in interface org.apache.axis.EngineConfiguration
qname
-
EngineConfiguration.getTransport(QName)
public void deployTransport(String name, org.apache.axis.Handler transport)
name
- e.g. "http"transport
- public void undeployTransport(String name)
name
- public List<String> getRoles()
getRoles
in interface org.apache.axis.EngineConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |