当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
JCRCommandContext - JBOSS Portal 2.6 API 英文版文档
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:
- InvocationContext
- public class JCRCommandContext
- extends AbstractInvocationContext
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final Session session
commandFactory
private final JCRCommandFactory commandFactory
locale
private final java.util.Locale locale
JCRCommandContext
public JCRCommandContext(Session session,
JCRCommandFactory factory,
java.util.Locale locale)
getCommandFactory
public JCRCommandFactory getCommandFactory()
getSession
public Session getSession()
execute
public java.lang.Object execute(JCRCommand cmd)
throws CMSException
- Throws:
CMSException
getDefaultLocale
public java.util.Locale getDefaultLocale()