|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.util.location.Located com.opensymphony.xwork2.config.entities.PackageConfig
public class PackageConfig
Configuration for Package.
In the xml configuration file this is defined as thepackage
tag.
Nested Class Summary | |
---|---|
static class |
PackageConfig.Builder
The builder for this object. |
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork2.util.location.Located |
---|
location |
Constructor Summary | |
---|---|
protected |
PackageConfig(PackageConfig orig)
|
protected |
PackageConfig(String name)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class com.opensymphony.xwork2.util.location.Located |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected PackageConfig(String name)
protected PackageConfig(PackageConfig orig)
Method Detail |
---|
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 boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
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 name
InterceptorConfig
or InterceptorStackConfig
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |