站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

JackrabbitJCRService - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.cms.impl.jcr.jackrabbit
Class JackrabbitJCRService

java.lang.Object
  extended byorg.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService
All Implemented Interfaces:
JCRService

public class JackrabbitJCRService
extends java.lang.Object
implements JCRService


Constructor Summary
JackrabbitJCRService()
           
 
Method Summary
 java.lang.String getConfig()
           
 java.lang.String getHomeDir()
           
 javax.jcr.Repository getRepository()
           
 java.lang.String getRepositoryName()
           
 javax.jcr.Session login(java.lang.String user, java.lang.String password)
           
 boolean nodeTypesExist()
          Check for existence of namespace nodetypes.
 void setConfig(java.lang.String config)
           
 void setHomeDir(java.lang.String homeDir)
           
 void setRepositoryName(java.lang.String repositoryName)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JackrabbitJCRService

public JackrabbitJCRService()
Method Detail

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