org.jboss.webservice.client
Class ClientEngine

java.lang.Object
  extended byorg.jboss.axis.handlers.BasicHandler (src) 
      extended byorg.jboss.axis.AxisEngine (src) 
          extended byorg.jboss.axis.client.AxisClient (src) 
              extended byorg.jboss.webservice.client.ClientEngine
All Implemented Interfaces:
Handler (src)

public class ClientEngine
extends AxisClient (src)

The ws4ee client engine.

Note, every service-ref client maintains an instance of this client engine.

Since:
11-May-2004

Field Summary
protected static Logger (src) log
           
 
Fields inherited from class org.jboss.axis.AxisEngine (src)
_hasSafePassword, config, DEFAULT_ATTACHMENT_IMPL, ENV_ATTACHMENT_DIR, ENV_SERVLET_CONTEXT, ENV_SERVLET_REALPATH, PROP_ATTACHMENT_CLEANUP, PROP_ATTACHMENT_DIR, PROP_ATTACHMENT_IMPLEMENTATION, PROP_DEBUG_FILE, PROP_DEBUG_LEVEL, PROP_DEFAULT_CONFIG_CLASS, PROP_DOMULTIREFS, PROP_PASSWORD, PROP_SEND_MINIMIZED_ELEMENTS, PROP_SEND_XSI, PROP_SOAP_ALLOWED_VERSION, PROP_SOAP_VERSION, PROP_SYNC_CONFIG, PROP_TWOD_ARRAY_ENCODING, PROP_XML_DECL, PROP_XML_ENCODING, shouldSaveConfig
 
Fields inherited from class org.jboss.axis.handlers.BasicHandler (src)
makeLockable, name, options
 
Constructor Summary
ClientEngine(EngineConfiguration (src)  config)
          Constructs the client engine with a given configuration.
 
Method Summary
 void invoke(MessageContext (src)  msgContext)
          Main routine of the AXIS engine.
 void registerHandlerChain(java.lang.String portName, java.util.List infos, java.util.Set roles)
          Register a handler chain for the given port name
 
Methods inherited from class org.jboss.axis.client.AxisClient (src)
getClientEngine, invokeJAXRPCHandlers
 
Methods inherited from class org.jboss.axis.AxisEngine (src)
addActorURI, cleanup, getActorURIs, getApplicationSession, getClassCache, getConfig, getCurrentMessageContext, getGlobalRequest, getGlobalResponse, getHandler, getService, getTransport, getTypeMappingRegistry, hasSafePassword, init, normaliseOptions, refreshGlobalOptions, removeActorURI, saveConfiguration, setAdminPassword, setCurrentMessageContext, setShouldSaveConfig
 
Methods inherited from class org.jboss.axis.handlers.BasicHandler (src)
canHandleBlock, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, 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

log

protected static Logger (src)  log
Constructor Detail

ClientEngine

public ClientEngine(EngineConfiguration (src)  config)
Constructs the client engine with a given configuration.

Method Detail

registerHandlerChain

public void registerHandlerChain(java.lang.String portName,
                                 java.util.List infos,
                                 java.util.Set roles)
Register a handler chain for the given port name


invoke

public void invoke(MessageContext (src)  msgContext)
            throws AxisFault (src) 
Main routine of the AXIS engine. In short we locate the appropriate handler for the desired service and invoke() it.

Specified by:
invoke in interface Handler (src)
Overrides:
invoke in class AxisClient (src)
Throws:
AxisFault (src)