Uses of Class
com.virtualweaver.xotics.dialect.xape.engine.XapException

Packages that use XapException
com.virtualweaver.xotics.dialect.xape.engine   
com.virtualweaver.xotics.dialect.xape.model.app   
com.virtualweaver.xotics.dialect.xape.player   
com.virtualweaver.xotics.dialect.xape.servlet   
com.virtualweaver.xotics.dialect.xape.task   
 

Uses of XapException in com.virtualweaver.xotics.dialect.xape.engine
 

Methods in com.virtualweaver.xotics.dialect.xape.engine that throw XapException
 void XapTask.init(XapRuntimeEnvironment env)
          Initialisation method, called when loading this
 void XapTask.setArguments(java.util.Map arguments)
          Arguments are passed to this before each call to process() or init()
 java.lang.String[] XapRepository.getLoadedAppNames()
           
 java.lang.String[] XapRepository.getAppInstanceNames(java.lang.String appName)
           
 boolean XapRepository.isMultiInstances(java.lang.String appName)
          Tells whether this app is multi instances or not
 java.lang.String[] XapRepository.getShareSpaceNames()
           
 void XapRuntimeEnvironment.reloadApplication(java.lang.String name)
          Ask Engine to update a XAPE application (named name) at run-time, by reloading its main application document.
 java.lang.String[] XapRuntimeEnvironment.getApplicationNames()
          Return the name of each application loaded by the Engine
 boolean XapRuntimeEnvironment.isMultiInstances(java.lang.String appName)
          Tells whether this application is multi instances or not
 java.net.URL XapRuntimeEnvironment.resolveUrl(java.lang.String url)
          From a string param url representing a relative or absolute URL, returns an absolute URL.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.getDocument(java.lang.String sharespace, java.lang.String docName)
          Returns the XO DM instance for XML document named docName in the share space sharespace.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.getDocument(XapDocumentId did)
          Returns the XO DM instance for XML document designated by did.
 XapDocumentId[] XapRuntimeEnvironment.getDocumentNames()
          Returns the full list of documents accessible to XAPE instance using this.
 java.lang.String[] XapRuntimeEnvironment.getShareSpaceNames()
          Returns the full list of existing share spaces.
 XapResponse XapRuntimeEnvironment.sendRequest(XapRequest req)
          Sends a request to be processed by the Engine.
 java.lang.String[] XapRuntimeEnvironment.getInstanceNames(java.lang.String appName)
          Returns the list of instances of application named appName currently running.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.bindDocument(java.lang.String sharespace, java.lang.String docName, java.net.URL url, java.util.Map initOptions, java.lang.Object initObject, boolean force)
          loads a document into a specific share space or in the private space.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.bindDocument(java.lang.String sharespace, java.lang.String docName, com.virtualweaver.xotics.datamodel.XoDMInstance doc, java.util.HashMap initOptions, java.lang.Object initObject, boolean force)
          loads a document into a specific share space or in the private space.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.bindDmdl(java.lang.String sharespace, java.lang.String docName, java.lang.String nsref, boolean force)
          Loads the DMDL document for a specific namespace nsref into a specific share space or in the private space.
 com.virtualweaver.xotics.datamodel.XoDMInstance XapRuntimeEnvironment.createDocument(java.lang.String sharespace, java.lang.String docName, java.lang.String nsref, java.lang.String prefix, java.lang.String element, java.util.Map initOptions, java.lang.Object initObject, boolean force)
          Creates a document into a specific share space or in the private space.
 void XapRuntimeEnvironment.unbindDocument(java.lang.String sharespace, java.lang.String docName, boolean release)
          Removes the document named docName either from a specific share space identified by sharespace or from the private space.
 com.virtualweaver.xotics.datamodel.XoDataType XapRuntimeEnvironment.xpathRequest(java.lang.String req)
          Computes an XPath request defined by param req.
 com.virtualweaver.xotics.datamodel.XoNode[] XapRuntimeEnvironment.xpathRequestNodes(java.lang.String req)
          The same method as xpathRequest() excepted that result is filtered to show XoNode objects only.
 java.lang.String XapRuntimeEnvironment.resolveValue(java.lang.String val)
          In any XAP application arguments of type string, a string can contain XPath request parts enclosed by '{}' which are resolved by this method into strings.
 void XapEngine.startup()
          Starts the engine.
 void XapEngine.setParameter(java.lang.String param, java.lang.Object value)
          Sets a config parameter.
 void XapEngine.addShareSpace(java.lang.String spaceName)
          Adds a share space.
 void XapEngine.loadApplication(com.virtualweaver.xotics.datamodel.XoDMInstance appDoc, java.lang.String name, java.util.Map parameters)
          Loads an application, composed with an app document (XAPE APP dialect) and associated config parameters.
 XapResponse XapEngine.sendRequest(XapRequest req)
          Sends a request.
static XapRequest XapEngine.createShutdownMessage(com.virtualweaver.xotics.datamodel.XoEnvironment env, java.lang.String appName, java.lang.String instanceName)
          Utility method to create a special message requesting the shutdown of a particular App instance.
static XapRequest XapEngine.createStartupMessage(com.virtualweaver.xotics.datamodel.XoEnvironment env, java.lang.String appName, java.lang.String instanceName)
          Creates a special message requesting the launch of a new Instance, named instanceName, from a loaded Application identified by appName.
static XapRequest XapEngine.createRequest(com.virtualweaver.xotics.datamodel.XoEnvironment env, byte type, java.lang.String appName, java.lang.String instanceName, java.lang.String handler, java.lang.String reqId, XapQueue responseQueue, com.virtualweaver.xotics.datamodel.XoObject contentObject)
          This is a utility method to create a request object, root of an XML subtree dedicated to be integrated into the private context of an app instance.
 void XapProcessable.process(XapRuntimeEnvironment env)
          This method performs any specific processing, with help of the application instance runtime environment.
 

Constructors in com.virtualweaver.xotics.dialect.xape.engine that throw XapException
XapEngine(com.virtualweaver.xotics.datamodel.XoEnvironment env)
          The engine is instanciated with an existing XO environment.
 

Uses of XapException in com.virtualweaver.xotics.dialect.xape.model.app
 

Methods in com.virtualweaver.xotics.dialect.xape.model.app that throw XapException
 void AppProcessContainer.process(XapRuntimeEnvironment env)
           
 

Uses of XapException in com.virtualweaver.xotics.dialect.xape.player
 

Methods in com.virtualweaver.xotics.dialect.xape.player that throw XapException
 void XapPlayer.startup()
          starts the engine
 void XapPlayer.shutdown()
          stops the engine
 XapResponse XapPlayer.sendRequest(XapRequest req)
          Send a request to a XAPE Application/Instance.
 

Constructors in com.virtualweaver.xotics.dialect.xape.player that throw XapException
XapPlayer(com.virtualweaver.xotics.datamodel.XoEnvironment env, java.net.URL initFile)
          Unique constructor.
 

Uses of XapException in com.virtualweaver.xotics.dialect.xape.servlet
 

Methods in com.virtualweaver.xotics.dialect.xape.servlet that throw XapException
 void XapServletRequestManager.setRequestContentHandlers(java.util.Map contentHandlers)
          Set the content-handler description map.
 SrvHttpRequest XapServletRequestManager.parse(javax.servlet.http.HttpServletRequest req)
          Converts HTTP servlet request object into appropriate XAPE Servlet request subtree, representing current XAPE request content.
 void XapServletRequestManager.sendBack(SrvHttpResponse xr, javax.servlet.http.HttpServletResponse resp)
          Sends the XAPE Servlet response in param xr to the client using servlet response object
 SrvContent XapServletRequestContentHandler.parse(javax.servlet.http.HttpServletRequest r)
          method to convert a servlet request into a XO subtree to be integrated in a XapRequest XO tree.
 

Uses of XapException in com.virtualweaver.xotics.dialect.xape.task
 

Methods in com.virtualweaver.xotics.dialect.xape.task that throw XapException
 void XapAbstractTask.init(XapRuntimeEnvironment env)
          does nothing
abstract  void XapAbstractTask.process(XapRuntimeEnvironment env)
           
 void XapAbstractTask.setArguments(java.util.Map map)
          stores arguments map
 java.lang.String XapAbstractTask.getArgument(XapRuntimeEnvironment env, java.lang.String argKey, boolean mandatory)
          returns argument value.