com.servingxml.app
Class ServiceContext
java.lang.Object
com.servingxml.util.system.AbstractRuntimeContext
com.servingxml.app.ServiceContext
- All Implemented Interfaces:
- RuntimeContext
- Direct Known Subclasses:
- DefaultServiceContext
public abstract class ServiceContext
- extends AbstractRuntimeContext
- implements RuntimeContext
A ServiceContext augments the RuntimeContext
interface with additional methods that provide information about the context of a request.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceContext
public ServiceContext(Logger logger)
getAppContext
public abstract AppContext getAppContext()
getNameTable
public abstract MutableNameTable getNameTable()
getUser
public abstract java.lang.String getUser()
- Specified by:
getUser
in interface RuntimeContext
getUriResolverFactory
public abstract UriResolverFactory getUriResolverFactory()
getTransformerErrorListener
public abstract javax.xml.transform.ErrorListener getTransformerErrorListener()
getLang
public abstract java.lang.String getLang()
getLocale
public abstract java.util.Locale getLocale()
getTransformerFactory
public abstract javax.xml.transform.sax.SAXTransformerFactory getTransformerFactory()
getDefault
public static ServiceContext getDefault()