|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
OSBConfigData | Java Bean style class to store, read and write OSB configuration data. |
OSBConfigUtil | OSB Configuration utility capable of importing and exporting projects, folders and resources to and from Oracle Service Bus. |
Exception Summary | |
---|---|
OSBConfigUtilException | Exception that is generated during OSBConfigUtil interactions. |
Provides an API for importing and exporting projects, folders and resources to and from Oracle Service Bus.
This section assumes that Oracle Service Bus 11.1.1.4 or later and Java Toolbox build 32 or later is installed. Download links are provided in the API Overview document.
The configuration utility requires the following environment variables to be set:
TOOLBOX_HOME=/opt/frameworks/toolbox TOOLBOX_ORA_FMW_UTIL_HOME=/opt/frameworks/tbmodules/toolbox_oracle_fmw_util ORACLE_MW_HOME=/opt/oracle/ofm116 OSB_HOME=$ORACLE_MW_HOME/oracle_osb01
The utility makes use of the wlfullclient.jar
file. This
file must be built using the WebLogic JarBuilder utility. The process
to create the jar file is documented
here.
The configuration utility provides a number of interfaces that include a Java API, command line and Ant tasks. This section will cover the simpler command line and Ant task use cases.
Command Line
The osb_config_util.sh
shell script is located in the
bin
directory of the module distribution. The program
displays a usage message when executed without any arguments e.g
./osb_config_util.shThe following options are available:
Apache Ant
A number of Ant tasks are provided. These tasks are defined and
documented in the share/ant/toolbox_osb_macros.xml
file in
the module distribution. The following build file fragment illustrates
how the ant tasks can be included in an ant project:
... <property environment="env"/> <import file="${env.TOOLBOX_ORA_FMW_UTIL_HOME}/share/ant/toolbox_osb_macros.xml"/> ... <target name="myExport"> <tbosbexportjarxml ... /> </target>
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |