Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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[] getRestServices()
          List of REST (JAX-RS) service/application names.
 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 isRestService()
          Indicates whether this module has REST (JAX-RS) services/applications
 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.

isRestService

public boolean isRestService()
Indicates whether this module has REST (JAX-RS) services/applications

getRestServices

public String[] getRestServices()
List of REST (JAX-RS) service/application names. Returns null if this module does not have REST 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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09