BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.deploy.api.tools
Class ModuleInfo

java.lang.Object
  extended byweblogic.deploy.api.tools.ModuleInfo

public class ModuleInfo
extends Object

Describes an application structure.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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 getName()
          The name of the module
 ModuleInfo[] getSubModules()
          List of embedded modules.
 ModuleType getType()
          The module type of this module.
 String[] getWebServices()
          List of web service names.
 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

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.

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.

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.

Returns:

getType

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

Returns:

getWebServices

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

Returns:

isArchived

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

Returns:

isWebService

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

Returns:

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.