org.apache.servicemix.common.xbean
Class AbstractXBeanServiceUnitAnalyzer

java.lang.Object
  extended by org.apache.servicemix.common.xbean.AbstractXBeanServiceUnitAnalyzer
All Implemented Interfaces:
ServiceUnitAnalyzer

public abstract class AbstractXBeanServiceUnitAnalyzer
extends Object
implements ServiceUnitAnalyzer


Constructor Summary
AbstractXBeanServiceUnitAnalyzer()
           
 
Method Summary
protected  List getBeanFactoryPostProcessors(String absolutePath)
           
 List<Consumes> getConsumes()
          Returns a list of Consumes representing the service unit being analyzed
protected abstract  List<Consumes> getConsumes(Endpoint endpoint)
           
 List<Provides> getProvides()
          Returns a list of Provides representing the service unit being analyzed
protected  List<Provides> getProvides(Endpoint endpoint)
           
protected abstract  String getXBeanFile()
           
 void init(File explodedServiceUnitRoot)
          Initializes the analyzer based on the root directory of an exploded service unit
protected abstract  boolean isValidEndpoint(Object bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXBeanServiceUnitAnalyzer

public AbstractXBeanServiceUnitAnalyzer()
Method Detail

getConsumes

public List<Consumes> getConsumes()
Description copied from interface: ServiceUnitAnalyzer
Returns a list of Consumes representing the service unit being analyzed

Specified by:
getConsumes in interface ServiceUnitAnalyzer
Returns:
A list of Consumes

getConsumes

protected abstract List<Consumes> getConsumes(Endpoint endpoint)

getProvides

public List<Provides> getProvides()
Description copied from interface: ServiceUnitAnalyzer
Returns a list of Provides representing the service unit being analyzed

Specified by:
getProvides in interface ServiceUnitAnalyzer
Returns:
A list of provides

getProvides

protected List<Provides> getProvides(Endpoint endpoint)

getXBeanFile

protected abstract String getXBeanFile()

init

public void init(File explodedServiceUnitRoot)
Description copied from interface: ServiceUnitAnalyzer
Initializes the analyzer based on the root directory of an exploded service unit

Specified by:
init in interface ServiceUnitAnalyzer

getBeanFactoryPostProcessors

protected List getBeanFactoryPostProcessors(String absolutePath)

isValidEndpoint

protected abstract boolean isValidEndpoint(Object bean)


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.