Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01

weblogic.deploy.api.model
Class WebLogicJ2eeApplicationObject

java.lang.Object
  extended by weblogic.deploy.api.model.WebLogicDeployableObject
      extended by weblogic.deploy.api.model.WebLogicJ2eeApplicationObject
All Implemented Interfaces:
DeployableObject, J2eeApplicationObject, Closable

public class WebLogicJ2eeApplicationObject
extends WebLogicDeployableObject
implements J2eeApplicationObject

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
createLazyDeployableObject, entries, getChildBean, getClassFromScope, getContextRoot, getDDBeanRoot, getDDBeanRoot, getDDBeanRoots, getEntry, getModuleDTDVersion, getPlan, getPlanBean, getPlandir, getText, getType, setContextRoot, setLibraries, setPlan, setPlanDir, setUri, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.deploy.model.DeployableObject
entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType
 

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.

Specified by:
close in interface Closable
Overrides:
close in class WebLogicDeployableObject

addXpathListener

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

Specified by:
addXpathListener in interface J2eeApplicationObject

removeXpathListener

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

Specified by:
removeXpathListener in interface J2eeApplicationObject

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.

Specified by:
getText in interface J2eeApplicationObject

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.

Specified by:
getChildBean in interface J2eeApplicationObject

getModuleUris

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

Specified by:
getModuleUris in interface J2eeApplicationObject

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.

Specified by:
getModuleUris in interface J2eeApplicationObject

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.

Specified by:
getDeployableObjects in interface J2eeApplicationObject

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.

Specified by:
getDeployableObjects in interface J2eeApplicationObject

getDeployableObject

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

Specified by:
getDeployableObject in interface J2eeApplicationObject

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, 2013, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-01