|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.handlers.BasicHandler org.apache.axis.AxisEngine
An AxisEngine
is the base class for AxisClient and
AxisServer. Handles common functionality like dealing with the
handler/service registries and loading properties.
Field Summary | |
protected boolean |
_hasSafePassword
Has the user changed the password yet? |
protected EngineConfiguration |
config
Our go-to guy for configuration... |
static String |
DEFAULT_ATTACHMENT_IMPL
|
static String |
ENV_ATTACHMENT_DIR
|
static String |
ENV_SERVLET_CONTEXT
|
static String |
ENV_SERVLET_REALPATH
|
static String |
PROP_ATTACHMENT_CLEANUP
|
static String |
PROP_ATTACHMENT_DIR
|
static String |
PROP_ATTACHMENT_IMPLEMENTATION
|
static String |
PROP_DEBUG_FILE
|
static String |
PROP_DEBUG_LEVEL
|
static String |
PROP_DEFAULT_CONFIG_CLASS
|
static String |
PROP_DOMULTIREFS
|
static String |
PROP_PASSWORD
|
static String |
PROP_SEND_MINIMIZED_ELEMENTS
|
static String |
PROP_SEND_XSI
|
static String |
PROP_SOAP_ALLOWED_VERSION
|
static String |
PROP_SOAP_VERSION
|
static String |
PROP_SYNC_CONFIG
|
static String |
PROP_TWOD_ARRAY_ENCODING
|
static String |
PROP_XML_DECL
|
static String |
PROP_XML_ENCODING
|
protected boolean |
shouldSaveConfig
Should we save the engine config each time we modify it? |
Fields inherited from class org.apache.axis.handlers.BasicHandler |
makeLockable, name, options |
Constructor Summary | |
AxisEngine(EngineConfiguration config)
Construct an AxisEngine using the specified engine configuration. |
Method Summary | |
void |
addActorURI(String uri)
|
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 |
ArrayList |
getActorURIs()
|
Session |
getApplicationSession()
accessor only, for application session (could call it "engine session" instead, but named with reference to Apache SOAP's notion of "application scope") |
ClassCache |
getClassCache()
|
abstract AxisEngine |
getClientEngine()
****************************************************************** Client engine access An AxisEngine may define another specific AxisEngine to be used by newly created Clients. |
EngineConfiguration |
getConfig()
|
static MessageContext |
getCurrentMessageContext()
Get the active message context. |
Handler |
getGlobalRequest()
|
Handler |
getGlobalResponse()
|
Handler |
getHandler(String name)
|
SOAPService |
getService(String name)
|
Handler |
getTransport(String name)
|
TypeMappingRegistry |
getTypeMappingRegistry()
|
boolean |
hasSafePassword()
|
void |
init()
(re)initialize - What should really go in here??? |
static void |
normaliseOptions(Handler handler)
Normalise the engine's options. |
void |
refreshGlobalOptions()
(Re-)load the global options from the registry. |
void |
removeActorURI(String uri)
|
void |
saveConfiguration()
Write out our engine configuration. |
void |
setAdminPassword(String pw)
|
static void |
setCurrentMessageContext(MessageContext mc)
Set the active message context. |
void |
setShouldSaveConfig(boolean shouldSaveConfig)
|
Methods inherited from class org.apache.axis.handlers.BasicHandler |
canHandleBlock, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, invoke, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PROP_XML_DECL
public static final String PROP_DEBUG_LEVEL
public static final String PROP_DEBUG_FILE
public static final String PROP_DOMULTIREFS
public static final String PROP_PASSWORD
public static final String PROP_SYNC_CONFIG
public static final String PROP_SEND_XSI
public static final String PROP_ATTACHMENT_DIR
public static final String PROP_ATTACHMENT_IMPLEMENTATION
public static final String PROP_ATTACHMENT_CLEANUP
public static final String PROP_DEFAULT_CONFIG_CLASS
public static final String PROP_SOAP_VERSION
public static final String PROP_SOAP_ALLOWED_VERSION
public static final String PROP_TWOD_ARRAY_ENCODING
public static final String PROP_SEND_MINIMIZED_ELEMENTS
public static final String PROP_XML_ENCODING
public static final String DEFAULT_ATTACHMENT_IMPL
public static final String ENV_ATTACHMENT_DIR
public static final String ENV_SERVLET_REALPATH
public static final String ENV_SERVLET_CONTEXT
protected EngineConfiguration config
protected boolean _hasSafePassword
protected boolean shouldSaveConfig
Constructor Detail |
public AxisEngine(EngineConfiguration config)
config
- the EngineConfiguration for this engineMethod Detail |
public static void setCurrentMessageContext(MessageContext mc)
mc
- - the new active message context.public static MessageContext getCurrentMessageContext()
public void init()
init
in interface Handler
init
in class BasicHandler
public void cleanup()
cleanup
in interface Handler
cleanup
in class BasicHandler
public void saveConfiguration()
public EngineConfiguration getConfig()
public boolean hasSafePassword()
public void setAdminPassword(String pw)
public void setShouldSaveConfig(boolean shouldSaveConfig)
public Handler getHandler(String name) throws AxisFault
AxisFault
public SOAPService getService(String name) throws AxisFault
AxisFault
public Handler getTransport(String name) throws AxisFault
AxisFault
public TypeMappingRegistry getTypeMappingRegistry()
public Handler getGlobalRequest() throws ConfigurationException
ConfigurationException
public Handler getGlobalResponse() throws ConfigurationException
ConfigurationException
public ArrayList getActorURIs()
public void addActorURI(String uri)
public void removeActorURI(String uri)
public abstract AxisEngine getClientEngine()
public static void normaliseOptions(Handler handler)
public void refreshGlobalOptions() throws ConfigurationException
ConfigurationException
public Session getApplicationSession()
public ClassCache getClassCache()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |