|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.userprofiling.Profile
public class Profile
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Constructor Summary | |
---|---|
Profile()
Constructs an instanceof Profile |
Method Summary | |
---|---|
void |
addLogListener(LogListener pListener)
Adds a listener to the list of log listeners |
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this service. |
javax.servlet.Servlet |
getAdminServlet()
Returns the Servlet that will handle admin requests directed at this service. |
java.util.Collection<java.lang.String> |
getContextMemberships()
Get the contexts this item is a member of. |
RepositoryItem |
getDataSource()
Returns property DataSource |
RepositoryItemDescriptor |
getItemDescriptor()
Returns the RepositoryItemDescriptor property, which describes the known properties for the item |
java.lang.String |
getItemDisplayName()
The name of this item which can be used in a UI. |
int |
getLogListenerCount()
Returns the number of log listeners |
ProfileTools |
getProfileTools()
Returns property ProfileTools |
java.lang.Object |
getPropertyValue(java.lang.String pPropertyName)
Returns the property of the given name |
Repository |
getRepository()
Returns the Repository which contains this item |
java.lang.String |
getRepositoryId()
Returns the unique profile id |
boolean |
isLoggingDebug()
This method returns whether or not an debug log event should be broadcast. |
boolean |
isLoggingError()
This method returns whether or not an error log event should be broadcast. |
boolean |
isLoggingInfo()
This method returns whether or not an info log event should be broadcast. |
boolean |
isLoggingWarning()
This method returns whether or not an warning log event should be broadcast. |
boolean |
isTransient()
Returns true if the profile is backed by an "anonymous" non-persistent profile which cannot be reloaded on subsequent sessions. |
void |
logDebug(java.lang.String pMessage)
Logs an debug event with the specified message |
void |
logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an debug event with the specified message and Throwable |
void |
logDebug(java.lang.Throwable pThrowable)
Logs an debug event with the specified Throwable |
void |
logError(java.lang.String pMessage)
Logs an error event with the specified message |
void |
logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an error event with the specified message and Throwable |
void |
logError(java.lang.Throwable pThrowable)
Logs an error event with the specified Throwable |
void |
logInfo(java.lang.String pMessage)
Logs an info event with the specified message |
void |
logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an info event with the specified message and Throwable |
void |
logInfo(java.lang.Throwable pThrowable)
Logs an info event with the specified Throwable |
void |
logWarning(java.lang.String pMessage)
Logs an warning event with the specified message |
void |
logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an warning event with the specified message and Throwable |
void |
logWarning(java.lang.Throwable pThrowable)
Logs an warning event with the specified Throwable |
void |
removeLogListener(LogListener pListener)
Removes a listener from the list of log listeners |
void |
sendLogEvent(LogEvent pLogEvent)
Sends a LogEvent to all of the listeners |
void |
setDataSource(RepositoryItem pDataSource)
Sets property DataSource |
void |
setDataSourceLocal(RepositoryItem pDataSource)
Sets property DataSource |
void |
setLoggingDebug(boolean pLogging)
Sets whether or not error log events should be logged. |
void |
setLoggingError(boolean pLogging)
Sets whether or not error log events should be logged. |
void |
setLoggingInfo(boolean pLogging)
Sets whether or not info log events should be logged. |
void |
setLoggingWarning(boolean pLogging)
Sets whether or not warning log events should be logged. |
void |
setProfileTools(ProfileTools pProfileTools)
Sets property ProfileTools |
void |
setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
Sets the property of the given name, to the specified value |
java.lang.String |
toString()
Returns the String representation of this profile |
Methods inherited from class atg.nucleus.GenericService |
---|
doStartService, doStopService, getAbsoluteName, getLoggingForVlogging, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingTrace, isRunning, logTrace, logTrace, logTrace, nameContextElementBound, nameContextElementUnbound, reResolveThis, resolveName, resolveName, resolveName, resolveName, setLoggingTrace, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public Profile()
Method Detail |
---|
public boolean isTransient()
isTransient
in interface RepositoryItem
public java.util.Collection<java.lang.String> getContextMemberships() throws RepositoryException
RepositoryItem
getContextMemberships
in interface RepositoryItem
RepositoryException
public void setDataSource(RepositoryItem pDataSource)
public void setDataSourceLocal(RepositoryItem pDataSource)
public RepositoryItem getDataSource()
public void setProfileTools(ProfileTools pProfileTools)
public ProfileTools getProfileTools()
public java.lang.String getRepositoryId()
getRepositoryId
in interface RepositoryItem
public java.lang.String getItemDisplayName()
getItemDisplayName
in interface DisplayableItem
public java.lang.Object getPropertyValue(java.lang.String pPropertyName)
getPropertyValue
in interface RepositoryItem
public void setPropertyValue(java.lang.String pPropertyName, java.lang.Object pPropertyValue)
setPropertyValue
in interface MutableRepositoryItem
public Repository getRepository()
getRepository
in interface RepositoryItem
public RepositoryItemDescriptor getItemDescriptor() throws RepositoryException
getItemDescriptor
in interface RepositoryItem
RepositoryException
public java.lang.String toString()
toString
in class java.lang.Object
public javax.servlet.Servlet getAdminServlet()
getAdminServlet
in interface AdminableService
getAdminServlet
in class GenericService
createAdminServlet()
protected javax.servlet.Servlet createAdminServlet()
createAdminServlet
in class GenericService
public void addLogListener(LogListener pListener)
addLogListener
in interface atg.nucleus.logging.ApplicationLoggingSender
addLogListener
in class GenericService
public void removeLogListener(LogListener pListener)
removeLogListener
in interface atg.nucleus.logging.ApplicationLoggingSender
removeLogListener
in class GenericService
public int getLogListenerCount()
getLogListenerCount
in interface atg.nucleus.logging.ApplicationLoggingSender
getLogListenerCount
in class GenericService
public void sendLogEvent(LogEvent pLogEvent)
sendLogEvent
in class GenericService
public boolean isLoggingInfo()
isLoggingInfo
in interface ApplicationLogging
isLoggingInfo
in class GenericService
public void setLoggingInfo(boolean pLogging)
setLoggingInfo
in interface ApplicationLogging
setLoggingInfo
in class GenericService
public boolean isLoggingWarning()
isLoggingWarning
in interface ApplicationLogging
isLoggingWarning
in class GenericService
public void setLoggingWarning(boolean pLogging)
setLoggingWarning
in interface ApplicationLogging
setLoggingWarning
in class GenericService
public boolean isLoggingError()
isLoggingError
in interface ApplicationLogging
isLoggingError
in class GenericService
public void setLoggingError(boolean pLogging)
setLoggingError
in interface ApplicationLogging
setLoggingError
in class GenericService
public boolean isLoggingDebug()
isLoggingDebug
in interface ApplicationLogging
isLoggingDebug
in class GenericService
public void setLoggingDebug(boolean pLogging)
setLoggingDebug
in interface ApplicationLogging
setLoggingDebug
in class GenericService
public void logInfo(java.lang.String pMessage)
logInfo
in interface ApplicationLogging
logInfo
in class GenericService
public void logInfo(java.lang.Throwable pThrowable)
logInfo
in interface ApplicationLogging
logInfo
in class GenericService
public void logInfo(java.lang.String pMessage, java.lang.Throwable pThrowable)
logInfo
in interface ApplicationLogging
logInfo
in class GenericService
public void logWarning(java.lang.String pMessage)
logWarning
in interface ApplicationLogging
logWarning
in class GenericService
public void logWarning(java.lang.Throwable pThrowable)
logWarning
in interface ApplicationLogging
logWarning
in class GenericService
public void logWarning(java.lang.String pMessage, java.lang.Throwable pThrowable)
logWarning
in interface ApplicationLogging
logWarning
in class GenericService
public void logError(java.lang.String pMessage)
logError
in interface ApplicationLogging
logError
in class GenericService
public void logError(java.lang.Throwable pThrowable)
logError
in interface ApplicationLogging
logError
in class GenericService
public void logError(java.lang.String pMessage, java.lang.Throwable pThrowable)
logError
in interface ApplicationLogging
logError
in class GenericService
public void logDebug(java.lang.String pMessage)
logDebug
in interface ApplicationLogging
logDebug
in class GenericService
public void logDebug(java.lang.Throwable pThrowable)
logDebug
in interface ApplicationLogging
logDebug
in class GenericService
public void logDebug(java.lang.String pMessage, java.lang.Throwable pThrowable)
logDebug
in interface ApplicationLogging
logDebug
in class GenericService
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |