org.jboss.portal.cms.impl.jcr
Class JCRCommandContext
java.lang.Object
org.jboss.portal.common.invocation.AbstractInvocationContext
org.jboss.portal.cms.impl.jcr.JCRCommandContext
- All Implemented Interfaces:
- java.io.Serializable, InvocationContext
public class JCRCommandContext
- extends AbstractInvocationContext
- implements java.io.Serializable
- Version:
- $Revision: 7163 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scope
public static final Scope scope
JCRCommandContext
public JCRCommandContext(javax.jcr.Session session,
JCRCommandFactory factory,
java.util.Locale locale)
getCommandFactory
public JCRCommandFactory getCommandFactory()
getSession
public javax.jcr.Session getSession()
execute
public java.lang.Object execute(JCRCommand cmd)
throws CMSException
- Throws:
CMSException
getDefaultLocale
public java.util.Locale getDefaultLocale()
setClusterContextInfo
public void setClusterContextInfo(java.lang.String key,
java.lang.Object data)
- Parameters:
key
- data
-
getClusterContextInfo
public java.lang.Object getClusterContextInfo(java.lang.String key)
- Parameters:
key
-
- Returns: