org.codehaus.cargo.container.weblogic.internal
Class WebLogic9x10xAnd103xConfigurationBuilder

java.lang.Object
  extended by org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
      extended by org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
          extended by org.codehaus.cargo.container.weblogic.internal.WebLogic9x10xAnd103xConfigurationBuilder
All Implemented Interfaces:
ConfigurationBuilder

public class WebLogic9x10xAnd103xConfigurationBuilder
extends WebLogic8xConfigurationBuilder

Constructs xml elements needed to configure a normal or XA compliant DataSource for WebLogic 9-10.3.

Version:
$Id: $

Field Summary
 
Fields inherited from class org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
RESOURCE_CONFIGURATION_UNSUPPORTED
 
Constructor Summary
WebLogic9x10xAnd103xConfigurationBuilder(java.lang.String serverName)
          Sets the server name that the resources this creates are bound to.
 
Method Summary
protected  java.lang.String configureDataSourceWithImplementationClass(DataSource ds, java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebLogic9x10xAnd103xConfigurationBuilder

public WebLogic9x10xAnd103xConfigurationBuilder(java.lang.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 java.lang.String configureDataSourceWithImplementationClass(DataSource ds,
                                                                      java.lang.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 class WebLogic8xConfigurationBuilder
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


Copyright © 2004-2011 Codehaus. All Rights Reserved.