|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.spring.AbstractConfig
org.directwebremoting.spring.CreatorConfig
public class CreatorConfig
The configuration for a creator.
You can either specify the creator directly or specify one of the build in creator types,
for instance "new".
It allows the specification of the following optional configuration parameters:
Properties object containing method names and corresponding
required role
AccessControl.addIncludeRule(String, String),
AccessControl.addExcludeRule(String, String),
AccessControl.addRoleRestriction(String, String, String),
AjaxFilter,
AjaxFilterManager.addAjaxFilter(org.directwebremoting.AjaxFilter, String)| Constructor Summary | |
|---|---|
CreatorConfig()
|
|
| Method Summary | |
|---|---|
void |
addAuth(java.lang.String method,
java.lang.String role)
Convenience method for adding an authentication rule. |
void |
addFilter(AjaxFilter filter)
Convenience method for adding a filter. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getAuth()
Sets the authentication parameters for this creator. |
Creator |
getCreator()
The creator that will be used to create new objects for remoting |
java.lang.String |
getCreatorType()
The creator type that will be used to create new objects for remoting |
java.util.List<?> |
getFilters()
Gets the list of all filters for this creator. |
void |
setAuth(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auth)
Sets the authentication parameters for this creator. |
void |
setCreator(Creator creator)
The creator type that will be used to create new objects for remoting |
void |
setCreatorType(java.lang.String creatorType)
The creator that will be used to create new objects for remoting |
void |
setFilters(java.util.List<java.lang.Object> filters)
Sets the list of all filters for this creator. |
| Methods inherited from class org.directwebremoting.spring.AbstractConfig |
|---|
addExclude, addInclude, getExcludes, getIncludes, getParams, setExcludes, setIncludes, setParams |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreatorConfig()
| Method Detail |
|---|
public java.lang.String getCreatorType()
public void setCreatorType(java.lang.String creatorType)
creatorType - The creator type to set.public Creator getCreator()
public void setCreator(Creator creator)
creator - The creator to set.public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAuth()
AccessControl.addRoleRestriction(String, String, String)public void setAuth(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auth)
auth - the map containing the method name and the corresponding required roleAccessControl.addRoleRestriction(String, String, String)public java.util.List<?> getFilters()
AjaxFilter,
AjaxFilterManager.addAjaxFilter(org.directwebremoting.AjaxFilter, String)public void setFilters(java.util.List<java.lang.Object> filters)
filters - the list containing all filtersAjaxFilter,
AjaxFilterManager.addAjaxFilter(org.directwebremoting.AjaxFilter, String)
public void addAuth(java.lang.String method,
java.lang.String role)
method - the method to add the authentication rulerole - the role to add the authentication constraint for
java.lang.IllegalArgumentException - in case the specified argument is nullpublic void addFilter(AjaxFilter filter)
filter - the filter to add for this creator
java.lang.IllegalArgumentException - in case the specified argument is null
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||