|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.endeca.index.DynamicPropertySchemaSynchronization
public class DynamicPropertySchemaSynchronization
A synchronization that tracks dynamic properties generated in an indexing run (via the ProcessingPropertiesCallback interface), then submits schema entries for those properties a SchemaGenerator.
Created: January 25 2012
Nested Class Summary | |
---|---|
static class |
DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo
A class that to track dynamic output property info. |
Field Summary | |
---|---|
static java.lang.String |
ATTR_DYNAMIC_PROPERTIES
The context attribute used to store dynamic properties. |
static java.lang.String |
CLASS_VERSION
Class version string from source code control system. |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
DynamicPropertySchemaSynchronization()
|
Method Summary | |
---|---|
void |
afterSessionStart(atg.repository.search.indexing.Context pContext)
This method is invoked immediately after a DocumentSubmitter session is started. |
void |
beforeSessionEnd(atg.repository.search.indexing.Context pContext)
This method is invoked immediately before a DocumentSubmitter session is closed. |
void |
doStartService()
This is called after a Service has been created, placed into the naming hierarchy, and initialized with its configured property values. |
atg.repository.search.indexing.DocumentSubmitter |
getDocumentSubmitter()
Returns property documentSubmitter. |
java.util.Map<java.lang.String,java.lang.String> |
getEveryDynamicSchemaRecordProperties()
Returns property everyDynamicSchemaRecordProperties. |
protected java.util.List<atg.repository.search.indexing.specifier.OutputProperty> |
getOutputPropertiesForLocale(java.util.Collection<DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo> pInfos,
java.util.Locale pLocale)
Return the list of output properties associated with the specified locale. |
SchemaExporter |
getSchemaExporter()
Returns property schemaExporter. |
java.lang.String |
getSchemaExporterPath()
Returns property schemaExporterPath. |
protected void |
modifyRecords(java.util.List<atg.repository.search.indexing.specifier.OutputProperty> pSourceProperties,
Records pRecords,
java.util.Locale pLocale)
Make any modify the records generated by the specified locale. |
void |
processingProperties(atg.repository.search.indexing.Context pContext,
RepositoryItem pItem,
atg.repository.search.indexing.specifier.OutputItemSpecifier pSpecifier,
atg.repository.search.indexing.specifier.OutputProperty[] pProperties,
boolean pIsMeta,
java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,java.lang.Object> pGeneratorMap)
|
void |
setEveryDynamicSchemaRecordProperties(java.util.Map<java.lang.String,java.lang.String> pEveryDynamicSchemaRecordProperties)
Sets property everyDynamicSchemaRecordProperties. |
void |
setSchemaExporter(SchemaExporter pSchemaExporter)
Sets property schemaExporter. |
void |
setSchemaExporterPath(java.lang.String pSchemaExporterPath)
Sets property schemaExporterPath. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String ATTR_DYNAMIC_PROPERTIES
Constructor Detail |
---|
public DynamicPropertySchemaSynchronization()
Method Detail |
---|
public void setEveryDynamicSchemaRecordProperties(java.util.Map<java.lang.String,java.lang.String> pEveryDynamicSchemaRecordProperties)
public java.util.Map<java.lang.String,java.lang.String> getEveryDynamicSchemaRecordProperties()
public atg.repository.search.indexing.DocumentSubmitter getDocumentSubmitter()
public void setSchemaExporter(SchemaExporter pSchemaExporter)
public SchemaExporter getSchemaExporter()
public void setSchemaExporterPath(java.lang.String pSchemaExporterPath)
public java.lang.String getSchemaExporterPath()
public void afterSessionStart(atg.repository.search.indexing.Context pContext) throws atg.repository.search.indexing.IndexingException
afterSessionStart
in interface atg.repository.search.indexing.IndexingSynchronization
pContext
- the Context for the current indexing operation. The
DocumentSubmitterSession
is available as a property, as is
the IndexingOutputConfig
and other state information.
atg.repository.search.indexing.IndexingException
public void beforeSessionEnd(atg.repository.search.indexing.Context pContext) throws atg.repository.search.indexing.IndexingException
beforeSessionEnd
in interface atg.repository.search.indexing.IndexingSynchronization
pContext
- the Context for the current indexing operation. The
DocumentSubmitterSession
is available as a property, as is
the IndexingOutputConfig
and other state information.
atg.repository.search.indexing.IndexingException
protected void modifyRecords(java.util.List<atg.repository.search.indexing.specifier.OutputProperty> pSourceProperties, Records pRecords, java.util.Locale pLocale)
protected java.util.List<atg.repository.search.indexing.specifier.OutputProperty> getOutputPropertiesForLocale(java.util.Collection<DynamicPropertySchemaSynchronization.DynamicOutputPropertyInfo> pInfos, java.util.Locale pLocale)
public void processingProperties(atg.repository.search.indexing.Context pContext, RepositoryItem pItem, atg.repository.search.indexing.specifier.OutputItemSpecifier pSpecifier, atg.repository.search.indexing.specifier.OutputProperty[] pProperties, boolean pIsMeta, java.util.Map<atg.repository.search.indexing.specifier.OutputProperty,java.lang.Object> pGeneratorMap)
public void doStartService() throws ServiceException
GenericService
doStartService
in class GenericService
ServiceException
- if the Service had a problem starting up
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |