|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.config.WorkspaceConfig
public class WorkspaceConfig
Workspace configuration. This configuration class is used to create configured workspace objects.
The contained configuration information are: the home directory and name of the workspace, the file system, the persistence manager, the search index and the item state manager locking configuration. The search index and the item state manager locking are optional parts.
Constructor Summary | |
---|---|
WorkspaceConfig(String home,
String name,
boolean clustered,
FileSystemConfig fsc,
PersistenceManagerConfig pmc,
SearchConfig sc,
ISMLockingConfig ismLockingConfig)
Creates a workspace configuration object. |
Method Summary | |
---|---|
FileSystemConfig |
getFileSystemConfig()
Returns the file system configuration. |
String |
getHomeDir()
Returns the workspace home directory. |
ISMLockingConfig |
getISMLockingConfig()
|
String |
getName()
Returns the workspace name. |
PersistenceManagerConfig |
getPersistenceManagerConfig()
Returns the workspace persistence manager configuration. |
SearchConfig |
getSearchConfig()
Returns the workspace search index configuration. |
boolean |
isClustered()
Returns a flag indicating whether this workspace participates in a cluster. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkspaceConfig(String home, String name, boolean clustered, FileSystemConfig fsc, PersistenceManagerConfig pmc, SearchConfig sc, ISMLockingConfig ismLockingConfig)
home
- home directoryname
- workspace namefsc
- file system configurationpmc
- persistence manager configurationsc
- search index configurationismLockingConfig
- the item state manager locking configuration. If
null
is passed, a default configuration is taken.Method Detail |
---|
public String getHomeDir()
public String getName()
public boolean isClustered()
true
if this workspace participates in a cluster;
false
otherwisepublic ISMLockingConfig getISMLockingConfig()
public FileSystemConfig getFileSystemConfig()
public PersistenceManagerConfig getPersistenceManagerConfig()
public SearchConfig getSearchConfig()
null
if a search index has not been configured.
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |