Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.deploy.api.model
Class WebLogicJ2eeApplicationObject

java.lang.Object
  extended by weblogic.deploy.api.model.WebLogicDeployableObject
      extended by weblogic.deploy.api.model.WebLogicJ2eeApplicationObject

public class WebLogicJ2eeApplicationObject
extends WebLogicDeployableObject

This class is the WebLogic Server implementation of DeployableObject.

This class encapsulates an EAR for deployment purposes. A deployment tool uses the constructor for this class to present an EAR to the deployer. Instances of this class are acquired via WebLogicDeployableObject.createDeployableObject(java.io.File)


Field Summary
 
Fields inherited from class weblogic.deploy.api.model.WebLogicDeployableObject
contextRoot
 
Constructor Summary
protected WebLogicJ2eeApplicationObject(File module, File installDir, File plan, File plandir)
           
 
Method Summary
 void addXpathListener(ModuleType type, String xpath, XpathListener xpl)
          Not implemented.
 void close()
          Closes application resources and removes temporary files.
 DDBean[] getChildBean(ModuleType type, String xpath)
          Returns a list of DDBeans based upon an XPath, searching all standard J2EE deployment descriptors of the specified type.
 DeployableObject getDeployableObject(String uri)
          Returns the module in the application with the specified uri, or null if no such module exists.
 DeployableObject[] getDeployableObjects()
          Returns all modules in the application, or null if there are no embedded modules.
 DeployableObject[] getDeployableObjects(ModuleType type)
          Returns all modules in the application based on the specified type, or null if there are no matching modules.
 DeployableObject[] getDeployableObjects(String uri)
           
 DescriptorBean getDescriptorBean()
          Typed descriptor bean tree for this modules standard descriptor.
 String[] getModuleUris()
          Lists the module URI path for each embedded module.
 String[] getModuleUris(ModuleType type)
          Lists the module URI path for each embedded modules of the specified ModuleType.
 String[] getText(ModuleType type, String xpath)
          Returns the text value from the XPath, searching only the standard J2EE deployment descriptors of the specified type.
 void removeXpathListener(ModuleType type, String xpath, XpathListener xpl)
          Not implemented.
 
Methods inherited from class weblogic.deploy.api.model.WebLogicDeployableObject
createDeployableObject, createDeployableObject, createDeployableObject, createLazyDeployableObject, entries, getChildBean, getClassFromScope, getContextRoot, getDDBeanRoot, getDDBeanRoot, getDDBeanRoots, getEntry, getModuleDTDVersion, getPlan, getPlanBean, getPlandir, getResourceFinder, getText, getType, setContextRoot, setLibraries, setPlan, setPlanDir, setResourceFinder, setUri, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebLogicJ2eeApplicationObject

protected WebLogicJ2eeApplicationObject(File module,
                                        File installDir,
                                        File plan,
                                        File plandir)
                                 throws IOException
Throws:
IOException
Method Detail

close

public void close()
Description copied from class: WebLogicDeployableObject
Closes application resources and removes temporary files.

Overrides:
close in class WebLogicDeployableObject

addXpathListener

public void addXpathListener(ModuleType type,
                             String xpath,
                             XpathListener xpl)
Not implemented.


removeXpathListener

public void removeXpathListener(ModuleType type,
                                String xpath,
                                XpathListener xpl)
Not implemented.


getText

public String[] getText(ModuleType type,
                        String xpath)
Returns the text value from the XPath, searching only the standard J2EE deployment descriptors of the specified type.


getChildBean

public DDBean[] getChildBean(ModuleType type,
                             String xpath)
Returns a list of DDBeans based upon an XPath, searching all standard J2EE deployment descriptors of the specified type.


getModuleUris

public String[] getModuleUris()
Lists the module URI path for each embedded module. This method returns null if there are no embedded modules.


getModuleUris

public String[] getModuleUris(ModuleType type)
Lists the module URI path for each embedded modules of the specified ModuleType. This method returns null if no modules of the specified type exist in the application.


getDeployableObjects

public DeployableObject[] getDeployableObjects()
Returns all modules in the application, or null if there are no embedded modules. The DeployableObject representing the EAR itself does not appear in the list.


getDeployableObjects

public DeployableObject[] getDeployableObjects(ModuleType type)
Returns all modules in the application based on the specified type, or null if there are no matching modules.


getDeployableObject

public DeployableObject getDeployableObject(String uri)
Returns the module in the application with the specified uri, or null if no such module exists.


getDeployableObjects

public DeployableObject[] getDeployableObjects(String uri)

getDescriptorBean

public DescriptorBean getDescriptorBean()
Description copied from class: WebLogicDeployableObject
Typed descriptor bean tree for this modules standard descriptor.

Overrides:
getDescriptorBean in class WebLogicDeployableObject

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04