org.apache.cocoon.environment.background
Class BackgroundSession
java.lang.Object
org.apache.cocoon.environment.impl.AbstractSession
org.apache.cocoon.environment.background.BackgroundSession
- All Implemented Interfaces:
- HttpSession, org.apache.cocoon.environment.Session
- public final class BackgroundSession
- extends org.apache.cocoon.environment.impl.AbstractSession
Command-line version of Http Session.
- Version:
- $Id: BackgroundSession.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class org.apache.cocoon.environment.impl.AbstractSession |
getAttributes, getServletContext, getSessionContext, getValue, getValueNames, putValue, removeValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected static BackgroundSession session
BackgroundSession
public BackgroundSession()
getCreationTime
public long getCreationTime()
getId
public String getId()
getLastAccessedTime
public long getLastAccessedTime()
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
getMaxInactiveInterval
public int getMaxInactiveInterval()
getAttribute
public Object getAttribute(String name)
getAttributeNames
public Enumeration getAttributeNames()
setAttribute
public void setAttribute(String name,
Object value)
removeAttribute
public void removeAttribute(String name)
invalidate
public void invalidate()
isNew
public boolean isNew()
getSession
public static org.apache.cocoon.environment.Session getSession(boolean create)
- Get the current session object - if available
invalidateSession
public static void invalidateSession()
- Invalidate the current session
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.