com.sun.enterprise.config.serverbeans
Interface Applications

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable
All Known Subinterfaces:
SystemApplications

public interface Applications
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable


Nested Class Summary
static class Applications.Duck
           
 
Method Summary
 Application getApplication(String moduleID)
          Return the application with the given module ID (name), or null if no such application exists.
 List<Application> getApplications()
           
 List<Application> getApplicationsWithSnifferType(String snifferType)
           
 List<Application> getApplicationsWithSnifferType(String snifferType, boolean onlyStandaloneModules)
           
<T> T
getModule(Class<T> type, String moduleID)
           
 List<ApplicationName> getModules()
          Gets the value of the lifecycleModuleOrJ2EeApplicationOrEjbModuleOrWebModuleOrConnectorModuleOrAppclientModuleOrMbeanOrExtensionModuleorApplication property.
<T> List<T>
getModules(Class<T> type)
          Gets a subset of getModules() that has the given type.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getModules

List<ApplicationName> getModules()
Gets the value of the lifecycleModuleOrJ2EeApplicationOrEjbModuleOrWebModuleOrConnectorModuleOrAppclientModuleOrMbeanOrExtensionModuleorApplication property. Objects of the following type(s) are allowed in the list LifecycleModule J2eeApplication EjbModule WebModule ConnectorModule AppclientModule Mbean ExtensionModule Application


getModules

@DuckTyped
<T> List<T> getModules(Class<T> type)
Gets a subset of getModules() that has the given type.


getModule

@DuckTyped
<T> T getModule(Class<T> type,
                          String moduleID)

getApplications

@DuckTyped
List<Application> getApplications()

getApplication

@DuckTyped
Application getApplication(String moduleID)
Return the application with the given module ID (name), or null if no such application exists.

Parameters:
moduleID - the module ID of the application
Returns:
the Application object, or null if no such app

getApplicationsWithSnifferType

@DuckTyped
List<Application> getApplicationsWithSnifferType(String snifferType)

getApplicationsWithSnifferType

@DuckTyped
List<Application> getApplicationsWithSnifferType(String snifferType,
                                                           boolean onlyStandaloneModules)


Copyright © 2012 GlassFish Community. All Rights Reserved.