public class PackageConfig extends Located implements Comparable, Serializable, InterceptorLocator
package
tag.Modifier and Type | Class and Description |
---|---|
static class |
PackageConfig.Builder
The builder for this object.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,ActionConfig> |
actionConfigs |
protected String |
defaultActionRef |
protected String |
defaultClassRef |
protected String |
defaultInterceptorRef |
protected String |
defaultResultType |
protected List<ExceptionMappingConfig> |
globalExceptionMappingConfigs |
protected Map<String,ResultConfig> |
globalResultConfigs |
protected Map<String,Object> |
interceptorConfigs |
protected boolean |
isAbstract |
protected String |
name |
protected String |
namespace |
protected boolean |
needsRefresh |
protected List<PackageConfig> |
parents |
protected Map<String,ResultTypeConfig> |
resultTypeConfigs |
Modifier | Constructor and Description |
---|---|
protected |
PackageConfig(PackageConfig orig) |
protected |
PackageConfig(String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
boolean |
equals(Object o) |
Map<String,ActionConfig> |
getActionConfigs() |
Map<String,ActionConfig> |
getAllActionConfigs()
returns the Map of all the ActionConfigs available in the current package.
|
List<ExceptionMappingConfig> |
getAllExceptionMappingConfigs()
returns the List of all the ExceptionMappingConfigs available in the current package.
|
Map<String,ResultConfig> |
getAllGlobalResults()
returns the Map of all the global ResultConfigs available in the current package.
|
Map<String,Object> |
getAllInterceptorConfigs()
returns the Map of all InterceptorConfigs and InterceptorStackConfigs available in the current package.
|
Map<String,ResultTypeConfig> |
getAllResultTypeConfigs()
returns the Map of all the ResultTypeConfigs available in the current package.
|
String |
getDefaultActionRef() |
String |
getDefaultClassRef() |
String |
getDefaultInterceptorRef() |
String |
getDefaultResultType()
Returns the default result type for this package.
|
String |
getFullDefaultActionRef()
gets the default action-ref name.
|
String |
getFullDefaultInterceptorRef()
gets the default interceptor-ref name.
|
String |
getFullDefaultResultType()
Returns the default result type for this package.
|
List<ExceptionMappingConfig> |
getGlobalExceptionMappingConfigs()
gets the ExceptionMappingConfigs local to this package
|
Map<String,ResultConfig> |
getGlobalResultConfigs()
gets the global ResultConfigs local to this package
|
Object |
getInterceptorConfig(String name)
Gets an interceptor configuration object.
|
Map<String,Object> |
getInterceptorConfigs()
gets the InterceptorConfigs and InterceptorStackConfigs local to this package
|
String |
getName() |
String |
getNamespace() |
List<PackageConfig> |
getParents() |
Map<String,ResultTypeConfig> |
getResultTypeConfigs()
gets the ResultTypeConfigs local to this package
|
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isNeedsRefresh() |
String |
toString() |
getLocation, setLocation
protected Map<String,ActionConfig> actionConfigs
protected Map<String,ResultConfig> globalResultConfigs
protected Map<String,ResultTypeConfig> resultTypeConfigs
protected List<ExceptionMappingConfig> globalExceptionMappingConfigs
protected List<PackageConfig> parents
protected String defaultInterceptorRef
protected String defaultActionRef
protected String defaultResultType
protected String defaultClassRef
protected String name
protected String namespace
protected boolean isAbstract
protected boolean needsRefresh
protected PackageConfig(String name)
protected PackageConfig(PackageConfig orig)
public boolean isAbstract()
public Map<String,ActionConfig> getActionConfigs()
public Map<String,ActionConfig> getAllActionConfigs()
ActionConfig
public Map<String,ResultConfig> getAllGlobalResults()
ResultConfig
public Map<String,Object> getAllInterceptorConfigs()
InterceptorConfig
,
InterceptorStackConfig
public Map<String,ResultTypeConfig> getAllResultTypeConfigs()
ResultTypeConfig
public List<ExceptionMappingConfig> getAllExceptionMappingConfigs()
ExceptionMappingConfig
public String getDefaultInterceptorRef()
public String getDefaultActionRef()
public String getDefaultClassRef()
public String getDefaultResultType()
public String getFullDefaultInterceptorRef()
public String getFullDefaultActionRef()
public String getFullDefaultResultType()
public Map<String,ResultConfig> getGlobalResultConfigs()
ResultConfig
public Map<String,Object> getInterceptorConfigs()
InterceptorConfig
,
InterceptorStackConfig
public String getName()
public String getNamespace()
public List<PackageConfig> getParents()
public Map<String,ResultTypeConfig> getResultTypeConfigs()
ResultTypeConfig
public boolean isNeedsRefresh()
public List<ExceptionMappingConfig> getGlobalExceptionMappingConfigs()
ExceptionMappingConfig
public int compareTo(Object o)
compareTo
in interface Comparable
public Object getInterceptorConfig(String name)
InterceptorLocator
getInterceptorConfig
in interface InterceptorLocator
name
- The interceptor or interceptor stack nameInterceptorConfig
or InterceptorStackConfig
objectCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.