Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.repo.audit.extractor
Class AbstractDataExtractor
java.lang.Object
  org.alfresco.repo.audit.extractor.AbstractDataExtractor
All Implemented Interfaces:
DataExtractor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.Aware

public abstract class AbstractDataExtractor
extends 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
protected org.apache.commons.logging.Log
logger
          Logger that can be used by subclasses
Constructor Summary
AbstractDataExtractor()
Method Summary
void
afterPropertiesSet()
          Registers the instance
boolean
equals(Object obj)
          This implementation assumes all extractors are stateless i.e.
void
setBeanName(String name)
          Set the name with which to register
void
setRegistry(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
Field Detail
logger
protected final org.apache.commons.logging.Log logger
Logger that can be used by subclasses
Constructor Detail
AbstractDataExtractor
public AbstractDataExtractor()
Method Detail
setBeanName
public void setBeanName(String name)
Set the name with which to register
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware
Parameters:
name - the name of the bean

setRegistry
public void setRegistry(NamedObjectRegistry<DataExtractor> registry)
Set the registry with which to register

afterPropertiesSet
public void afterPropertiesSet()
                        throws Exception
Registers the instance
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

equals
public boolean equals(Object obj)
This implementation assumes all extractors are stateless i.e. if the class matches then the instances are equal.
Overrides:
equals in class Object

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.