|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.integration.api.cactify.Redirector
public abstract class Redirector
Abstract base class for nested redirector elements.
| Field Summary | |
|---|---|
protected org.codehaus.cargo.util.log.Logger |
logger
Cargo logger - when used by Ant, AntLogger must instantiated, when used by Maven MavenLogger should be instantiated; |
protected java.lang.String |
mapping
The URL pattern that the redirector will be mapped to. |
protected java.lang.String |
name
The name of the redirector. |
protected java.lang.String |
roles
Comma-separated list of role names that should be granted access to the redirector. |
| Constructor Summary | |
|---|---|
Redirector()
Default constructor. |
|
Redirector(org.codehaus.cargo.util.log.Logger logger)
Constructor with ownerTask. |
|
| Method Summary | |
|---|---|
protected void |
addSecurity(org.codehaus.cargo.module.webapp.WebXml theWebXml)
Adds the comma-separated list of security roles to a deployment descriptor. |
abstract void |
mergeInto(org.codehaus.cargo.module.webapp.WebXml theWebXml)
Merges the definition of the redirector into the provided deployment descriptor. |
void |
setMapping(java.lang.String theMapping)
Sets the URL pattern that the redirector should be mapped to. |
void |
setName(java.lang.String theName)
Sets the name of the redirector. |
void |
setRoles(java.lang.String theRoles)
Sets the comma-separated list of role names that should be granted access to the redirector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.codehaus.cargo.util.log.Logger logger
protected java.lang.String name
protected java.lang.String mapping
protected java.lang.String roles
| Constructor Detail |
|---|
public Redirector()
public Redirector(org.codehaus.cargo.util.log.Logger logger)
theOwnerTask - to be instantiated| Method Detail |
|---|
public abstract void mergeInto(org.codehaus.cargo.module.webapp.WebXml theWebXml)
theWebXml - The deployment descriptor into which the redirector
definition should be mergedpublic final void setName(java.lang.String theName)
theName - The name to setpublic final void setMapping(java.lang.String theMapping)
theMapping - The URL pattern to setpublic final void setRoles(java.lang.String theRoles)
theRoles - The roles to setprotected final void addSecurity(org.codehaus.cargo.module.webapp.WebXml theWebXml)
theWebXml - The deployment descriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||