public class StartJackrabbitSingleton extends Object implements org.apache.commons.chain.Command
 Get a Jackrabbit instance and put it in the Context.
 This commands maintains a cache with already created instances.
 if there's no Repository for the given config and home settings a new
 instance will be created and cached.
 
| Constructor and Description | 
|---|
StartJackrabbitSingleton()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
execute(org.apache.commons.chain.Context ctx) | 
String | 
getConfigKey()  | 
String | 
getHomeKey()  | 
void | 
setConfigKey(String configKey)  | 
void | 
setHomeKey(String homeKey)  | 
public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception
execute in interface org.apache.commons.chain.CommandExceptionpublic String getConfigKey()
public void setConfigKey(String configKey)
configKey - the config key to setpublic String getHomeKey()
public void setHomeKey(String homeKey)
homeKey - the home key to setCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.