|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.spring.AbstractConfig
public class AbstractConfig
The abstract config to use to configure parts of DWR in Spring.
AccessControl.addIncludeRule(String, String),
AccessControl.addExcludeRule(String, String)| Constructor Summary | |
|---|---|
AbstractConfig()
|
|
| Method Summary | |
|---|---|
void |
addExclude(java.lang.String method)
Convenience method for adding an exclude rule. |
void |
addInclude(java.lang.String method)
Convenience method for adding an include rule. |
java.util.List<java.lang.String> |
getExcludes()
Gets the list of method names to exclude for this creator. |
java.util.List<java.lang.String> |
getIncludes()
Gets the list of method names to include for this creator. |
java.util.Map<java.lang.String,java.lang.String> |
getParams()
The set of key/value pairs to provide further configuration. Note that these params are only used when setting the creator type and not when setting the creator directly. |
void |
setExcludes(java.util.List<java.lang.String> excludes)
Sets the list of method names to exclude for this creator. |
void |
setIncludes(java.util.List<java.lang.String> includes)
Sets the list of method names to include for this creator. |
void |
setParams(java.util.Map<java.lang.String,java.lang.String> params)
The set of key/value pairs to provide further configuration. Note that these params are only used when setting the creator type and not when setting the creator directly. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConfig()
| Method Detail |
|---|
public java.util.List<java.lang.String> getIncludes()
AccessControl.addIncludeRule(String, String)public void setIncludes(java.util.List<java.lang.String> includes)
includes - the list of method names to includeAccessControl.addIncludeRule(String, String)public java.util.List<java.lang.String> getExcludes()
AccessControl.addExcludeRule(String, String)public void setExcludes(java.util.List<java.lang.String> excludes)
excludes - the list of method names to excludeAccessControl.addExcludeRule(String, String)public void addInclude(java.lang.String method)
method - the method to add the include rule for
java.lang.IllegalArgumentException - in case the specified argument is nullpublic void addExclude(java.lang.String method)
method - the method to add the exclude rule
java.lang.IllegalArgumentException - in case the specified argument is nullpublic java.util.Map<java.lang.String,java.lang.String> getParams()
public void setParams(java.util.Map<java.lang.String,java.lang.String> params)
params - The params to set.
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||