Search in sources :

Example 6 with PackageConfig

use of com.opensymphony.xwork2.config.entities.PackageConfig in project dhis2-core by dhis2.

the class DefaultModuleManager method getPackageConfigs.

// -------------------------------------------------------------------------
// Supportive methods
// -------------------------------------------------------------------------
private Collection<PackageConfig> getPackageConfigs() {
    Configuration configuration = Dispatcher.getInstance().getConfigurationManager().getConfiguration();
    Map<String, PackageConfig> packageConfigs = configuration.getPackageConfigs();
    return packageConfigs.values();
}
Also used : Configuration(com.opensymphony.xwork2.config.Configuration) PackageConfig(com.opensymphony.xwork2.config.entities.PackageConfig)

Aggregations

PackageConfig (com.opensymphony.xwork2.config.entities.PackageConfig)6 Configuration (com.opensymphony.xwork2.config.Configuration)3 ActionConfig (com.opensymphony.xwork2.config.entities.ActionConfig)3 ConfigurationException (com.opensymphony.xwork2.config.ConfigurationException)2 org.apache.struts2.config (org.apache.struts2.config)2 ResultTypeConfig (com.opensymphony.xwork2.config.entities.ResultTypeConfig)1 Annotation (java.lang.annotation.Annotation)1 HashSet (java.util.HashSet)1 I18n (org.hisp.dhis.i18n.I18n)1 AccessDeniedException (org.springframework.security.access.AccessDeniedException)1 SecurityMetadataSource (org.springframework.security.access.SecurityMetadataSource)1 InsufficientAuthenticationException (org.springframework.security.authentication.InsufficientAuthenticationException)1 Authentication (org.springframework.security.core.Authentication)1 SecurityContext (org.springframework.security.core.context.SecurityContext)1