DEFAULT_ATTACHMENT_IMPL
public static final String DEFAULT_ATTACHMENT_IMPL
ENV_ATTACHMENT_DIR
public static final String ENV_ATTACHMENT_DIR
ENV_SERVLET_CONTEXT
public static final String ENV_SERVLET_CONTEXT
ENV_SERVLET_REALPATH
public static final String ENV_SERVLET_REALPATH
PROP_ATTACHMENT_CLEANUP
public static final String PROP_ATTACHMENT_CLEANUP
PROP_ATTACHMENT_DIR
public static final String PROP_ATTACHMENT_DIR
PROP_ATTACHMENT_IMPLEMENTATION
public static final String PROP_ATTACHMENT_IMPLEMENTATION
PROP_BP10_COMPLIANCE
public static final String PROP_BP10_COMPLIANCE
Compliance with WS-I Basic Profile.
PROP_BYTE_BUFFER_BACKING
public static final String PROP_BYTE_BUFFER_BACKING
PROP_BYTE_BUFFER_CACHE_INCREMENT
public static final String PROP_BYTE_BUFFER_CACHE_INCREMENT
PROP_BYTE_BUFFER_RESIDENT_MAX_SIZE
public static final String PROP_BYTE_BUFFER_RESIDENT_MAX_SIZE
PROP_BYTE_BUFFER_WORK_BUFFER_SIZE
public static final String PROP_BYTE_BUFFER_WORK_BUFFER_SIZE
PROP_DEBUG_FILE
public static final String PROP_DEBUG_FILE
PROP_DEBUG_LEVEL
public static final String PROP_DEBUG_LEVEL
PROP_DEFAULT_CONFIG_CLASS
public static final String PROP_DEFAULT_CONFIG_CLASS
PROP_DISABLE_PRETTY_XML
public static final String PROP_DISABLE_PRETTY_XML
PROP_DOMULTIREFS
public static final String PROP_DOMULTIREFS
PROP_DOTNET_SOAPENC_FIX
public static final String PROP_DOTNET_SOAPENC_FIX
Set this property to 'true' when you want Axis to avoid soap encoded
types to work around a .NET problem where it wont accept soap encoded
types for a (soap encoded!) array.
PROP_EMIT_ALL_TYPES
public static final String PROP_EMIT_ALL_TYPES
PROP_ENABLE_NAMESPACE_PREFIX_OPTIMIZATION
public static final String PROP_ENABLE_NAMESPACE_PREFIX_OPTIMIZATION
PROP_PASSWORD
public static final String PROP_PASSWORD
PROP_SEND_XSI
public static final String PROP_SEND_XSI
PROP_SOAP_ALLOWED_VERSION
public static final String PROP_SOAP_ALLOWED_VERSION
PROP_SOAP_VERSION
public static final String PROP_SOAP_VERSION
PROP_SYNC_CONFIG
public static final String PROP_SYNC_CONFIG
PROP_TWOD_ARRAY_ENCODING
public static final String PROP_TWOD_ARRAY_ENCODING
PROP_XML_DECL
public static final String PROP_XML_DECL
PROP_XML_ENCODING
public static final String PROP_XML_ENCODING
PROP_XML_REUSE_SAX_PARSERS
public static final String PROP_XML_REUSE_SAX_PARSERS
_hasSafePassword
protected boolean _hasSafePassword
Has the user changed the password yet? True if they have.
classCache
protected ClassCache classCache
Java class cache.
log
protected static Log log
The Log
for all message logging.
shouldSaveConfig
protected boolean shouldSaveConfig
Should we save the engine config each time we modify it? True if we
should.
addActorURI
public void addActorURI(String uri)
Add an actor by uri that will hold for the entire engine.
uri
- a String
giving the uri of the actor to add
cleanup
public void cleanup()
Cleanup routine removes application scoped objects.
There is a small risk of this being called more than once
so the cleanup should be designed to resist that event.
- cleanup in interface Handler
- cleanup in interface BasicHandler
getActorURIs
public ArrayList getActorURIs()
Get a list of actor URIs that hold for the entire engine.
- an
ArrayList
of all actor URIs as
Strings
getApplicationSession
public Session getApplicationSession()
Get the Session
object associated with the application
session.
- a
Session
scoped to the application
getClassCache
public ClassCache getClassCache()
Get the ClassCache
associated with this engine.
- the class cache
getClientEngine
public AxisEngine getClientEngine()
Client engine access.
An AxisEngine may define another specific AxisEngine to be used
by newly created Clients. For instance, a server may
create an AxisClient and allow deployment to it. Then
the server's services may access the AxisClient's deployed
handlers and transports.
- an
AxisEngine
that is the client engine
getConfig
public EngineConfiguration getConfig()
Get the EngineConfiguration
used throughout this
AxisEngine
instance.
- the engine configuration instance
getCurrentMessageContext
public static MessageContext getCurrentMessageContext()
Get the active message context.
- the current active message context
getHandler
public Handler getHandler(String name)
throws AxisFault
Get the Handler
for a particular local name.
name
- the local name of the request type
- the
Handler
for this request type
AxisFault
-
getService
public SOAPService getService(String name)
throws AxisFault
Get the SOAPService
for a particular local name.
name
- the local name of the request type
- the
SOAPService
for this request type
AxisFault
-
getTransport
public Handler getTransport(String name)
throws AxisFault
Get the Handler
that implements the transport for a local
name.
name
- the local name to fetch the transport for
- a
Handler
for this local name
AxisFault
-
getTypeMappingRegistry
public TypeMappingRegistry getTypeMappingRegistry()
Get the TypeMappingRegistry
for this axis engine.
- the
TypeMappingRegistry
if possible, or null if
there is any error resolving it
hasSafePassword
public boolean hasSafePassword()
Discover if this AxisEngine
has a safe password.
- true if it is safe, false otherwise
init
public void init()
Initialize the engine. Multiple calls will (may?) return the engine to
the intialized state.
- init in interface Handler
- init in interface BasicHandler
normaliseOptions
public static void normaliseOptions(Handler handler)
Normalise the engine's options.
Convert boolean options from String to Boolean and default
any ommitted boolean options to TRUE. Default the admin.
password.
handler
- the Handler
to normalise; instances of
AxisEngine
get extra data normalised
removeActorURI
public void removeActorURI(String uri)
Remove an actor by uri that will hold for the entire engine.
uri
- a String
giving the uri of the actor to remove
saveConfiguration
public void saveConfiguration()
Write out our engine configuration.
setAdminPassword
public void setAdminPassword(String pw)
Set the administration password.
pw
- the literal value of the password as a String
setCurrentMessageContext
protected static void setCurrentMessageContext(MessageContext mc)
Set the active message context.
mc
- - the new active message context.
setShouldSaveConfig
public void setShouldSaveConfig(boolean shouldSaveConfig)
Set the flag that controls if the configuration should be saved.
shouldSaveConfig
- true if the configuration should be changed,
false otherwise