Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.deploy.api.tools
Class ModuleInfo

java.lang.Object
  extended by weblogic.deploy.api.tools.ModuleInfo

public class ModuleInfo
extends Object

Describes an application structure.


Method Summary
 String[] getBeans()
          If this module represents an EJB jar, this returns the individual bean names.
 String[] getContextRoots()
          If this module represents a web module in an ear, then this returns the associated context roots from the ear descriptor.
 String[] getDataSources()
          List of JEE6 datasource names.
 String getName()
          The name of the module
 String[] getSubDeployments()
          This returns subdeployments associated with a JMS Modules
 ModuleInfo[] getSubModules()
          List of embedded modules.
 ModuleType getType()
          The module type of this module.
 String[] getWebServices()
          List of web service names.
 boolean hasDataSource()
          Indicates whether this module has JEE6 style data sources
 boolean isArchived()
          Whether this module is in archived form
 boolean isWebService()
          Indicates whether this module has J2EE 1.4 based web services
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
The name of the module


getSubModules

public ModuleInfo[] getSubModules()
List of embedded modules. For an EAR this would be the embedded webapp modules, EJB modules, etc.


getType

public ModuleType getType()
The module type of this module.


isArchived

public boolean isArchived()
Whether this module is in archived form


isWebService

public boolean isWebService()
Indicates whether this module has J2EE 1.4 based web services


getWebServices

public String[] getWebServices()
List of web service names. Returns null if this module does not have web services.


hasDataSource

public boolean hasDataSource()
Indicates whether this module has JEE6 style data sources


getDataSources

public String[] getDataSources()
List of JEE6 datasource names. Returns null if this module does not have JEE6 data sources. Note for datasource defined inside an EJB, the name is decorated with component name e.g. ejbName@datasourceName.


getContextRoots

public String[] getContextRoots()
If this module represents a web module in an ear, then this returns the associated context roots from the ear descriptor.

Returns:
web module context roots. Returns null if not a web module.

getBeans

public String[] getBeans()
If this module represents an EJB jar, this returns the individual bean names.

Returns:
bean names. If not an EJB module then null is returned.

getSubDeployments

public String[] getSubDeployments()
This returns subdeployments associated with a JMS Modules

Returns:
String[] subDeployments in a JMS module

Copyright 1996, 2011, 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
12c Release 1 (12.1.1)

Part Number E24391-02