Class WebSphereJythonConfigurationFactory
- java.lang.Object
-
- org.codehaus.cargo.container.websphere.internal.configuration.WebSphereJythonConfigurationFactory
-
public class WebSphereJythonConfigurationFactory extends Object
WebSphere configuration factory returning specific jython configuration scripts.
-
-
Constructor Summary
Constructors Constructor Description WebSphereJythonConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.
-
Method Summary
-
-
-
Constructor Detail
-
WebSphereJythonConfigurationFactory
public WebSphereJythonConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.
-
-
Method Detail
-
importWsadminlibScript
public ScriptCommand importWsadminlibScript(String wsadminlibPath)
- Parameters:
wsadminlibPath
- Path to wsadminlib script.- Returns:
- Import wsadminlib jython script.
-
saveSyncScript
public ScriptCommand saveSyncScript()
- Returns:
- Save and sync wsadminlib jython script.
-
setJvmPropertyScript
public ScriptCommand setJvmPropertyScript(String propertyName, String propertyValue)
- Parameters:
propertyName
- Name of JVM property.propertyValue
- Value of JVM property.- Returns:
- Set JVM property jython script.
-
setSystemPropertyScript
public ScriptCommand setSystemPropertyScript(String propertyName, String propertyValue)
- Parameters:
propertyName
- Name of system property.propertyValue
- Value of system property.- Returns:
- Set system property jython script.
-
setGlobalSecurityPropertyScript
public ScriptCommand setGlobalSecurityPropertyScript(String propertyName, String propertyValue)
- Parameters:
propertyName
- Name of global security property.propertyValue
- Value of global security property.- Returns:
- Set global security property jython script.
-
setSessionManagementPropertyScript
public ScriptCommand setSessionManagementPropertyScript(String propertyName, String propertyValue)
- Parameters:
propertyName
- Name of session management property.propertyValue
- Value of session management property.- Returns:
- Set session management property jython script.
-
miscConfigurationScript
public ScriptCommand miscConfigurationScript()
- Returns:
- Miscellaneous configuration jython script.
-
loggingScript
public ScriptCommand loggingScript()
- Returns:
- Logging configuration jython script.
-
deploySharedLibraryScript
public ScriptCommand deploySharedLibraryScript(String sharedLibraryPath)
- Parameters:
sharedLibraryPath
- Shared library to be deployed.- Returns:
- Deploy shared library jython script.
-
deployDeployableScript
public ScriptCommand deployDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be deployed.- Returns:
- Deploy deployable jython script.
-
startDeployableScript
public ScriptCommand startDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be started.- Returns:
- Start deployable jython script.
-
deployDeployableScript
public List<ScriptCommand> deployDeployableScript(Deployable deployable, Collection<String> sharedLibraries)
- Parameters:
deployable
- Deployable to be deployed.sharedLibraries
- Shared libraries used by this deployable.- Returns:
- Deploy deployable using shared libraries jython script.
-
undeployDeployableScript
public ScriptCommand undeployDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be undeployed.- Returns:
- Undeploy deployable jython script.
-
stopDeployableScript
public ScriptCommand stopDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be stopped.- Returns:
- Stop deployable jython script.
-
createUserScript
public List<ScriptCommand> createUserScript(User user)
- Parameters:
user
- User to be created.- Returns:
- Create user jython script.
-
createDataSourceScript
public List<ScriptCommand> createDataSourceScript(DataSource dataSource, Collection<String> sharedLibraries)
- Parameters:
dataSource
- DataSource to be created.sharedLibraries
- Shared libraries containing database drivers.- Returns:
- Create datasource jython script.
-
createResourceScript
public ScriptCommand createResourceScript(Resource resource)
- Parameters:
resource
- Resource.- Returns:
- Create resource jython script.
-
-