public class TargetingSourceMap extends GenericService
sourceMap property of this service contains a 
 mapping of "Profile" to "/atg/profiler/ProfileBean," then a 
 rules file employed by a rule-based Targeter can use these 
 two lines interchangeably:
 
 <valueof property="Profile.email"> <valueof property="/atg/profiler/ProfileBean.email">
A TargetingSourceMap is supplied as a parameter to all the targeting droplets. The droplet uses the source map to obtain a NameResolver object and passes it on to the Targeter, which uses the NameResolver to resolve the names of source objects associated with a targeting operation.
Targeter, 
NameResolver| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
protected java.util.Properties | 
mSourceMap
The map of source names to their Nucleus paths 
 | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
TargetingSourceMap()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addSourceMapping(java.lang.String pName,
                java.lang.String pPath)
Adds a new mapping between a source name and its Nucleus path. 
 | 
void | 
doStartService()
Called after the service has been created, placed into the 
 naming hierarchy, and initialized with its configured property
 values. 
 | 
ComponentNameResolver | 
getNameResolver()
Returns a ComponentNameResolver which can be used to resolve
 names which have been added to the source map. 
 | 
ComponentNameResolver | 
getNameResolver(ComponentNameResolver pResolver)
Returns a ComponentNameResolver which can be used to resolve
 names which have been added to the source map. 
 | 
ComponentNameResolver | 
getNameResolver(DynamoHttpServletRequest pRequest)
Returns a ComponentNameResolver which can be used to resolve
 names which have been added to the source map. 
 | 
NameResolver | 
getNameResolver(NameResolver pResolver)
Returns a NameResolver which can be used to resolve names which
 have been added to the source map. 
 | 
java.util.Properties | 
getSourceMap()
Gets the map of source names to their Nucleus paths. 
 | 
void | 
removeSourceMapping(java.lang.String pName)
Removes the mapping associated with the given source name. 
 | 
void | 
setSourceMap(java.util.Properties pSourceMap)
Sets the map of source names to their Nucleus paths. 
 | 
addLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, 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, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
protected java.util.Properties mSourceMap
public java.util.Properties getSourceMap()
public void setSourceMap(java.util.Properties pSourceMap)
public void addSourceMapping(java.lang.String pName,
                    java.lang.String pPath)
public void removeSourceMapping(java.lang.String pName)
public ComponentNameResolver getNameResolver()
ComponentNameResolverpublic ComponentNameResolver getNameResolver(DynamoHttpServletRequest pRequest)
getNameResolver().atg.nucleus.naming.NameResolverpublic ComponentNameResolver getNameResolver(ComponentNameResolver pResolver)
ComponentNameResolverpublic NameResolver getNameResolver(NameResolver pResolver)
NameResolverpublic void doStartService()
                    throws ServiceException
doStartService in class GenericServiceServiceException - if the service had a problem 
 starting up