com.plumtree.openfoundation.web
Class XPApplication

java.lang.Object
  extended bycom.plumtree.openfoundation.web.XPApplication
All Implemented Interfaces:
IXPApplication

public class XPApplication
extends java.lang.Object
implements IXPApplication

XPApplication wraps ServletContext interface.


Constructor Summary
XPApplication(ServletContext application)
          IXPApplication implementation, that provides Context for Open Foundation.
 
Method Summary
 java.lang.Object GetAttribute(java.lang.String name)
          Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
 ServletContext GetUnderlyingObject()
          This method returns underlying ServletContext object.
 void RemoveAttribute(java.lang.String name)
          Removes the attribute with the given name from the servlet context.
 void SetAttribute(java.lang.String name, java.lang.Object _value)
          Binds an object to a given attribute name in this servlet context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPApplication

public XPApplication(ServletContext application)
IXPApplication implementation, that provides Context for Open Foundation.

Parameters:
application - is Servlet Context that needs to be wrapped into XPApplication.
Method Detail

GetAttribute

public java.lang.Object GetAttribute(java.lang.String name)
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.

Specified by:
GetAttribute in interface IXPApplication
Parameters:
name - - a string specifying name of the attribute
Returns:
Returns the Attribute values.

SetAttribute

public void SetAttribute(java.lang.String name,
                         java.lang.Object _value)
Binds an object to a given attribute name in this servlet context.

Specified by:
SetAttribute in interface IXPApplication
Parameters:
name - - a string specifying name of the attribute
_value - - an object representing the attribute to be bound

RemoveAttribute

public void RemoveAttribute(java.lang.String name)
Removes the attribute with the given name from the servlet context.

Specified by:
RemoveAttribute in interface IXPApplication
Parameters:
name - - a String specifying the name of the attribute to be removed

GetUnderlyingObject

public ServletContext GetUnderlyingObject()
This method returns underlying ServletContext object.

Returns:
ServletContext object


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.