org.codehaus.cargo.container.weblogic.internal
Class WebLogic9x10xAnd103xConfigurationBuilder
java.lang.Object
org.codehaus.cargo.container.spi.configuration.builder.AbstractConfigurationBuilder
org.codehaus.cargo.container.weblogic.internal.WebLogic8xConfigurationBuilder
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: $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLogic9x10xAnd103xConfigurationBuilder
public WebLogic9x10xAnd103xConfigurationBuilder(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.
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 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-2012 Codehaus. All Rights Reserved.