org.apache.muse.core.platform.mini
Class MiniEnvironment

java.lang.Object
  extended by org.apache.muse.core.AbstractEnvironment
      extended by org.apache.muse.core.platform.mini.MiniEnvironment
All Implemented Interfaces:
Environment
Direct Known Subclasses:
OSGiMiniEnvironment

public class MiniEnvironment
extends AbstractEnvironment

Author:
Dan Jemiolo (danj)

Constructor Summary
MiniEnvironment(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.ServletContext servletContext)
           
 
Method Summary
 EndpointReference getDeploymentEPR()
           
 File getRealDirectory()
           
 
Methods inherited from class org.apache.muse.core.AbstractEnvironment
addAddressingContext, createRelativePath, createSoapClient, getAddressingContext, getClassLoader, getDataResource, getDataResourceStream, getDefaultEPR, getDefaultURI, getDeploymentURI, getDocument, getSoapClient, removeAddressingContext, setDefaultURI, setSoapClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiniEnvironment

public MiniEnvironment(javax.servlet.http.HttpServletRequest httpRequest,
                       javax.servlet.ServletContext servletContext)
Method Detail

getDeploymentEPR

public EndpointReference getDeploymentEPR()
Returns:
The copy of the EPR of the application, as viewed in the context of the current request. When multiple endpoints are mapped to one application/service, this method will return different EPRs from request to request. Muse uses this feature to host different resource types (with different endpoints) in the same application or bundle.

getRealDirectory

public File getRealDirectory()
Returns:
The actual directory on the file system where the application is deployed.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.