当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
JackrabbitJCRService - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.cms.impl.jcr.jackrabbit
Class JackrabbitJCRService
java.lang.Object
org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService
- All Implemented Interfaces:
- JCRService
- public class JackrabbitJCRService
- extends java.lang.Object
- implements JCRService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JackrabbitJCRService
public JackrabbitJCRService()
getRepositoryName
public java.lang.String getRepositoryName()
setRepositoryName
public void setRepositoryName(java.lang.String repositoryName)
getConfig
public java.lang.String getConfig()
setConfig
public void setConfig(java.lang.String config)
getHomeDir
public java.lang.String getHomeDir()
setHomeDir
public void setHomeDir(java.lang.String homeDir)
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface JCRService
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface JCRService
nodeTypesExist
public boolean nodeTypesExist()
throws java.lang.Exception
- Check for existence of namespace nodetypes.
- Throws:
java.lang.Exception
login
public javax.jcr.Session login(java.lang.String user,
java.lang.String password)
throws java.lang.Exception
- Specified by:
login
in interface JCRService
- Throws:
java.lang.Exception
getRepository
public javax.jcr.Repository getRepository()
- Specified by:
getRepository
in interface JCRService