Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.deploy
Class WeblogicAppUtil

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.deploy.WeblogicAppUtil

public class WeblogicAppUtil
extends java.lang.Object

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/applcore/applications/DesignTime/DT/src/oracle/apps/fnd/applcore/dt/deploy/WeblogicAppUtil.java /main/5 2010/09/13 15:50:07 mluetchf Exp $
Author:
dechrist

Constructor Summary
WeblogicAppUtil()
           
 
Method Summary
static void addSharedLib(Workspace workspace, java.lang.String libName)
          Adds a shared library to weblogic-application.xml.
static void addSharedLib(Workspace workspace, java.lang.String libName, java.lang.String specVer)
          Adds a shared library to weblogic-application.xml.
static oracle.jdeveloper.xml.wl.ear.WeblogicApplicationNode findOrCreateWeblogicAppNode(Workspace workspace)
          Gets or creates the for weblogic-application.xml.
static boolean sharedLibExists(Workspace workspace, java.lang.String libName)
          Checks if a shared lib exist in weblogic-application.xml.
static boolean weblogicAppNodeExists(Workspace workspace)
          Checks whether weblogic-application.xml file exists for a workspace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeblogicAppUtil

public WeblogicAppUtil()
Method Detail

findOrCreateWeblogicAppNode

public static oracle.jdeveloper.xml.wl.ear.WeblogicApplicationNode findOrCreateWeblogicAppNode(Workspace workspace)
                                                                                        throws java.lang.Exception
Gets or creates the for weblogic-application.xml. This method will create the node if it does not already exist.

Parameters:
workspace - current workspace
Returns:
node for weblogic-application.xml
Throws:
java.lang.Exception - if any errors are encountered

addSharedLib

public static void addSharedLib(Workspace workspace,
                                java.lang.String libName)
                         throws java.lang.Exception
Adds a shared library to weblogic-application.xml. The library is added only if it does not exist already. This method will attempt to check-out the file.

Parameters:
workspace - current workspace
libName - the name of the shared library to add
Throws:
java.lang.Exception - if any errors are encountered

addSharedLib

public static void addSharedLib(Workspace workspace,
                                java.lang.String libName,
                                java.lang.String specVer)
                         throws java.lang.Exception
Adds a shared library to weblogic-application.xml. The library is added only if it does not exist already. This method will attempt to check-out the file.

Parameters:
workspace - current workspace
libName - the name of the shared library to add
specVer - the version of the shared library to add
Throws:
java.lang.Exception - if any errors are encountered

sharedLibExists

public static boolean sharedLibExists(Workspace workspace,
                                      java.lang.String libName)
Checks if a shared lib exist in weblogic-application.xml. Important! This API does not work currently due to Bug 7323898.

Parameters:
workspace - current workspace
libName - the library name to look for
Returns:
true if the shared lib exists and false otherwise

weblogicAppNodeExists

public static boolean weblogicAppNodeExists(Workspace workspace)
Checks whether weblogic-application.xml file exists for a workspace. This method will not create this file if it does not exist.

Parameters:
workspace - current workspace
Returns:
true if weblogic-application.xml exists and false otherwise

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.