|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This service is responsible for logging access to portlets.
Field Summary | |
static java.lang.String |
SERVICE_NAME
The default control to use when none is specified |
Method Summary | |
boolean |
isEnabled()
Returns sevice enabled state |
void |
logAccess(org.apache.turbine.util.RunData data,
Portlet portlet,
java.lang.String statusCode)
Logs portlet access using default load time. |
void |
logAccess(org.apache.turbine.util.RunData data,
Portlet portlet,
java.lang.String statusCode,
long time)
Logs portlet access. |
boolean |
setEnabled(boolean state)
Sets service enabled state |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public boolean isEnabled()
public boolean setEnabled(boolean state)
state
- new state
public void logAccess(org.apache.turbine.util.RunData data, Portlet portlet, java.lang.String statusCode)
data
- Current request info objectportlet
- Portlet being loggedstatusCode
- HTTP status code. For now, either 200 (successfull) or 401 (unauthorized)public void logAccess(org.apache.turbine.util.RunData data, Portlet portlet, java.lang.String statusCode, long time)
data
- Current request info objectportlet
- Portlet being loggedstatusCode
- HTTP status code. For now, either 200 (successfull) or 401 (unauthorized)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |