Class WebLogicWlstConfigurationFactory
- java.lang.Object
-
- org.codehaus.cargo.container.weblogic.internal.configuration.WebLogicWlstConfigurationFactory
-
public class WebLogicWlstConfigurationFactory extends Object
WLST configuration factory returning specific configuration scripts.
-
-
Constructor Summary
Constructors Constructor Description WebLogicWlstConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.
-
Method Summary
-
-
-
Constructor Detail
-
WebLogicWlstConfigurationFactory
public WebLogicWlstConfigurationFactory(Configuration configuration)
Sets configuration containing all needed information for building configuration scripts.- Parameters:
configuration
- Container configuration.
-
-
Method Detail
-
createDomainScript
public ScriptCommand createDomainScript(String weblogicHome)
- Parameters:
weblogicHome
- WebLogic home.- Returns:
- Create domain WLST script.
-
readDomainOfflineScript
public ScriptCommand readDomainOfflineScript()
- Returns:
- Read domain offline WLST script.
-
readDomainOnlineScript
public ScriptCommand readDomainOnlineScript()
- Returns:
- Read domain online WLST script.
-
updateDomainOfflineScript
public ScriptCommand updateDomainOfflineScript()
- Returns:
- Update offline domain WLST script.
-
updateDomainOnlineScript
public ScriptCommand updateDomainOnlineScript()
- Returns:
- Update online domain WLST script.
-
writeDomainScript
public ScriptCommand writeDomainScript()
- Returns:
- Write domain WLST script.
-
shutdownDomainScript
public ScriptCommand shutdownDomainScript()
- Returns:
- Shutdown domain WLST script.
-
loggingScript
public ScriptCommand loggingScript()
- Returns:
- Logging WLST script.
-
sslScript
public ScriptCommand sslScript()
- Returns:
- Configure SSL WLST script.
-
jtaScript
public ScriptCommand jtaScript()
- Returns:
- Configure JTA WLST script.
-
passwordValidatorScript
public ScriptCommand passwordValidatorScript()
- Returns:
- Configure password validator script.
-
deployDeployableScript
public ScriptCommand deployDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be deployed.- Returns:
- Deploy deployable WLST script.
-
deployDeployableOnlineScript
public ScriptCommand deployDeployableOnlineScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be deployed.- Returns:
- Deploy deployable online WLST script.
-
undeployDeployableScript
public ScriptCommand undeployDeployableScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be undeployed.- Returns:
- Undeploy deployable WLST script.
-
undeployDeployableOnlineScript
public ScriptCommand undeployDeployableOnlineScript(Deployable deployable)
- Parameters:
deployable
- Deployable to be undeployed.- Returns:
- Undeploy deployable online WLST script.
-
dataSourceScript
public Collection<ScriptCommand> dataSourceScript(DataSource ds)
- Parameters:
ds
- DataSource.- Returns:
- Create datasource WLST script.
-
resourceScript
public ScriptCommand resourceScript(Resource resource)
- Parameters:
resource
- Resource.- Returns:
- Create datasource WLST script.
-
createUserScript
public ScriptCommand createUserScript(User user)
- Parameters:
user
- User to be created.- Returns:
- Create user WLST script.
-
createGroupScript
public ScriptCommand createGroupScript(String groupRole)
- Parameters:
groupRole
- Group role.- Returns:
- Create group WLST script.
-
addUserToGroupsScript
public Collection<ScriptCommand> addUserToGroupsScript(User user)
- Parameters:
user
- User to be paired with groups.- Returns:
- Pair user with groups WLST script.
-
-