public class LocalSynchronizationInvokerService extends GenericService implements atg.search.core.SynchronizationInvoker
Created: January 03 2012
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.util.Set<SimpleIndexingAdmin> |
mSimpleIndexingAdmins
The set of SimpleIndexingAdmin instances to notify.
|
SERVICE_INFO_KEY
SYNC_TYPE_FULL, SYNC_TYPE_INCREMENTAL, SYNC_TYPE_POST_INDEX_CUSTOMIZATIONS
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
LocalSynchronizationInvokerService() |
Modifier and Type | Method and Description |
---|---|
void |
addSimpleIndexingAdmin(SimpleIndexingAdmin pAdmin)
Add a simple indexing admin to the set of admins that will be
consulted upon onCADeploymentChanges.
|
java.lang.String |
executeBasicSynchronization(java.lang.String pProjectName,
java.lang.String pSyncTaskDescription,
java.lang.String pType,
java.lang.String[] pTargetEnvironmentNames) |
void |
executeIndexingJobsFor(java.lang.String pCATargetName,
java.lang.String pIndexingType,
java.util.Map<java.lang.String,java.lang.String> pAffectedItemTypes,
java.util.Set<java.lang.String> pAllIndexingOutputConfigPaths,
java.util.Set<java.lang.String> pIncrementalIndexingOutputConfigPaths,
java.util.Set<java.lang.String> pAncillaryIndexingOutputConfigPaths) |
java.lang.String |
executeSynchronizationBySyncTaskDefId(java.lang.String pSyncTaskDefId) |
java.util.Set<java.lang.String> |
getIndexingOutputConfigPaths()
Optional method which returns additional IOC paths which should be verified on CA deployment changes in IndexingDeploymentListener.
|
java.util.Set<SimpleIndexingAdmin> |
getSimpleIndexingAdmins()
Return all registered simple indexing admins.
|
void |
onCADeploymentChanges(java.util.Set<java.lang.String> pAffectedIOCPaths) |
void |
removeSimpleIndexingAdmin(SimpleIndexingAdmin pAdmin)
Remove simple indexing admin from the set of admins that will be
consulted upon onCADeploymentChanges.
|
addLogListener, createAdminServlet, doStartService, 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, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
protected java.util.Set<SimpleIndexingAdmin> mSimpleIndexingAdmins
public java.util.Set<SimpleIndexingAdmin> getSimpleIndexingAdmins()
public void addSimpleIndexingAdmin(SimpleIndexingAdmin pAdmin)
pSimpleIndexingAdmin
- the simple admin to add.public void removeSimpleIndexingAdmin(SimpleIndexingAdmin pAdmin)
pSimpleIndexingAdmin
- the simple admin to add.public java.lang.String executeSynchronizationBySyncTaskDefId(java.lang.String pSyncTaskDefId) throws atg.search.SearchAdminException
executeSynchronizationBySyncTaskDefId
in interface atg.search.core.SynchronizationInvoker
atg.search.SearchAdminException
public java.lang.String executeBasicSynchronization(java.lang.String pProjectName, java.lang.String pSyncTaskDescription, java.lang.String pType, java.lang.String[] pTargetEnvironmentNames) throws atg.search.SearchAdminException
executeBasicSynchronization
in interface atg.search.core.SynchronizationInvoker
atg.search.SearchAdminException
public void executeIndexingJobsFor(java.lang.String pCATargetName, java.lang.String pIndexingType, java.util.Map<java.lang.String,java.lang.String> pAffectedItemTypes, java.util.Set<java.lang.String> pAllIndexingOutputConfigPaths, java.util.Set<java.lang.String> pIncrementalIndexingOutputConfigPaths, java.util.Set<java.lang.String> pAncillaryIndexingOutputConfigPaths) throws atg.search.SearchAdminException
executeIndexingJobsFor
in interface atg.search.core.SynchronizationInvoker
atg.search.SearchAdminException
public void onCADeploymentChanges(java.util.Set<java.lang.String> pAffectedIOCPaths)
onCADeploymentChanges
in interface atg.search.core.SynchronizationInvoker
public java.util.Set<java.lang.String> getIndexingOutputConfigPaths()