public class ProfilePropertyServlet extends InsertableServletImpl
This servlet is responsible for setting properties on the profile. This is done by calling out to
setters that implement the ProfilePropertySetter
interface.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProfilePropertyServlet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProfilePath()
Gets the Nucleus path of the Profile object.
|
ProfilePropertySetter[] |
getProfilePropertySetters()
Retrieves the ProfilePropertySetters array
|
Repository |
getProfileRepository()
Gets the ProfileRepository
|
javax.transaction.TransactionManager |
getTransactionManager()
The service used to manage all transactions
|
boolean |
isEnabled() |
protected void |
postProfilePropertySetting(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
Profile pProfile)
Perform any operations that must be done after setting properties on the profile.
|
void |
service(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Services a DynamoHttpServletRequest/Response pair
|
void |
setEnabled(boolean pEnabled) |
void |
setProfilePath(java.lang.String pProfilePath)
Sets the Nucleus path of the Profile object.
|
void |
setProfilePropertySetters(ProfilePropertySetter[] pProfilePropertySetters)
Sets the ProfilePropertySetters
|
void |
setProfileRepository(Repository pProfileRepository)
Sets the ProfileRepository
|
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager) |
doStartService, getInsertAfterServlet, setInsertAfterServlet
createAdminServlet, destroy, getAdminServlet, getNextServlet, getServletConfig, getServletInfo, init, isUsePathInfo, passRequest, passRequest, service, service, setNextServlet, setServletInfo, setUsePathInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, doStopService, getAbsoluteName, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService, toString
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNextServlet, passRequest, setNextServlet
public void setEnabled(boolean pEnabled)
public boolean isEnabled()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public javax.transaction.TransactionManager getTransactionManager()
public java.lang.String getProfilePath()
public void setProfilePath(java.lang.String pProfilePath)
public ProfilePropertySetter[] getProfilePropertySetters()
public void setProfilePropertySetters(ProfilePropertySetter[] pProfilePropertySetters)
public Repository getProfileRepository()
public void setProfileRepository(Repository pProfileRepository)
pProfileRepository
- public void service(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException
PipelineableServletImpl
service
in class PipelineableServletImpl
java.io.IOException
- if an error occurred while reading or writing
the servlet requestjavax.servlet.ServletException
- if an error occurred while processing
the servlet requestprotected void postProfilePropertySetting(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, Profile pProfile) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's responsepProfile
- the profile of the userjavax.servlet.ServletException
- if an error occurred while processing the servlet requestjava.io.IOException
- if an error occurred while reading or writing the servlet request