Class AbstractDataExtractor
- java.lang.Object
-
- org.alfresco.repo.audit.extractor.AbstractDataExtractor
-
- All Implemented Interfaces:
DataExtractor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CMISChangeLogDataExtractor,NodeNameDataExtractor,NodeTypeDataExtractor,NullValueDataExtractor,SimpleValueDataExtractor
@AlfrescoPublicApi public abstract class AbstractDataExtractor extends java.lang.Object implements DataExtractor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware
Abstract implementation to provide support.- Since:
- 3.2
- Author:
- Derek Hulley
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.LogloggerLogger that can be used by subclasses
-
Constructor Summary
Constructors Constructor Description AbstractDataExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Registers the instancebooleanequals(java.lang.Object obj)This implementation assumes all extractors are stateless i.e.voidsetBeanName(java.lang.String name)Set the name with which toregistervoidsetRegistry(org.alfresco.util.registry.NamedObjectRegistry<DataExtractor> registry)Set the registry with which to register-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.repo.audit.extractor.DataExtractor
extractData, isSupported
-
-
-
-
Method Detail
-
setBeanName
public void setBeanName(java.lang.String name)
Set the name with which toregister- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware- Parameters:
name- the name of the bean
-
setRegistry
public void setRegistry(org.alfresco.util.registry.NamedObjectRegistry<DataExtractor> registry)
Set the registry with which to register
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.ExceptionRegisters the instance- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
equals
public boolean equals(java.lang.Object obj)
This implementation assumes all extractors are stateless i.e. if the class matches then the instances are equal.- Overrides:
equalsin classjava.lang.Object
-
-