站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

BRMSRepositoryConfiguration (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.server.repository
Class BRMSRepositoryConfiguration

java.lang.Object
  extended by org.drools.brms.server.repository.BRMSRepositoryConfiguration

@Scope(value=APPLICATION)
@Startup
@Name(value="repositoryConfiguration")
public class BRMSRepositoryConfiguration
extends Object

This startup class manages the JCR repository, sets it up if necessary.

Author:
Michael Neale

Constructor Summary
BRMSRepositoryConfiguration()
           
 
Method Summary
 void create()
           
 javax.jcr.Session newSession(String userName)
          This will create a new Session, based on the current user.
 void setHomeDirectory(String home)
           
 void setRepositoryConfigurator(String clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BRMSRepositoryConfiguration

public BRMSRepositoryConfiguration()
Method Detail

create

@Create
public void create()

setHomeDirectory

public void setHomeDirectory(String home)

setRepositoryConfigurator

public void setRepositoryConfigurator(String clazz)
                               throws ClassNotFoundException,
                                      InstantiationException,
                                      IllegalAccessException
Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException

newSession

public javax.jcr.Session newSession(String userName)
This will create a new Session, based on the current user.

Returns:


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.