Class WebLogic9x10x103x12xConfigurationBuilder
- java.lang.Object
-
- org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
-
- org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
-
- org.codehaus.cargo.container.weblogic.internal.WebLogic9x10x103x12xConfigurationBuilder
-
- All Implemented Interfaces:
ConfigurationBuilder
public class WebLogic9x10x103x12xConfigurationBuilder extends WebLogic8xConfigurationBuilder
Constructs xml elements needed to configure a normal or XA compliant DataSource for WebLogic 9-10.3.
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
builder, RESOURCE_CONFIGURATION_UNSUPPORTED
-
-
Constructor Summary
Constructors Constructor Description WebLogic9x10x103x12xConfigurationBuilder(String serverName)
Sets the server name that the resources this creates are bound to.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
configureDataSourceWithImplementationClass(DataSource ds, String className)
In WebLogic 9.x DataSource definitions are located in separate files linked to config.xml.-
Methods inherited from class org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
buildConfigurationEntryForXADataSourceConfiguredDataSource, buildEntryForDriverConfiguredDataSourceWithLocalTx, buildEntryForDriverConfiguredDataSourceWithNoTx, buildEntryForDriverConfiguredDataSourceWithXaTx, getServerName, setServerName, toConfigurationEntry
-
Methods inherited from class org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
toConfigurationEntry
-
-
-
-
Constructor Detail
-
WebLogic9x10x103x12xConfigurationBuilder
public WebLogic9x10x103x12xConfigurationBuilder(String serverName)
Sets the server name that the resources this creates are bound to.- Parameters:
serverName
- which server the resources configured here will be bound to.
-
-
Method Detail
-
configureDataSourceWithImplementationClass
protected String configureDataSourceWithImplementationClass(DataSource ds, String className)
In WebLogic 9.x DataSource definitions are located in separate files linked to config.xml. This method creates the definition of the datasource. This file must be linked to the config.xml to become useful.- Overrides:
configureDataSourceWithImplementationClass
in classWebLogic8xConfigurationBuilder
- Parameters:
ds
- the DataSource we are configuring.className
- the implementation class used for this DataSource- Returns:
- a datasource xml fragment that can be embedded directly into the config.xml file
-
-