com.unboundid.directory.sdk.http.types
Class WebAppServerContextFactory

java.lang.Object
  extended by com.unboundid.directory.sdk.http.types.WebAppServerContextFactory

@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class WebAppServerContextFactory
extends java.lang.Object

This class provides a factory which may be used to obtain an of a WebAppServerContext object.


Constructor Summary
WebAppServerContextFactory()
           
 
Method Summary
static WebAppServerContext getServerContext()
          Obtain an instance of a WebAppServerContext object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppServerContextFactory

public WebAppServerContextFactory()
Method Detail

getServerContext

public static WebAppServerContext getServerContext()
Obtain an instance of a WebAppServerContext object. Note that this may only be called by a web application running inside the server.

Returns:
An instance of a WebAppServerContext object.