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 java.lang.Object
implements ServiceUnitAnalyzer


Constructor Summary
AbstractXBeanServiceUnitAnalyzer()
           
 
Method Summary
protected  java.util.List getBeanFactoryPostProcessors(java.lang.String absolutePath)
           
 java.util.List<Consumes> getConsumes()
           Returns a list of Consumes representing the service unit being analyzed.
protected abstract  java.util.List<Consumes> getConsumes(Endpoint endpoint)
           
 java.util.List<Provides> getProvides()
           Returns a list of Provides representing the service unit being analyzed.
protected  java.util.List<Provides> getProvides(Endpoint endpoint)
           
protected abstract  java.lang.String getXBeanFile()
           
 void init(java.io.File explodedServiceUnitRoot)
           Initializes the analyzer based on the root directory of an exploded service unit.
protected abstract  boolean isValidEndpoint(java.lang.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 java.util.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 java.util.List<Consumes> getConsumes(Endpoint endpoint)

getProvides

public java.util.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 java.util.List<Provides> getProvides(Endpoint endpoint)

getXBeanFile

protected abstract java.lang.String getXBeanFile()

init

public void init(java.io.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 java.util.List getBeanFactoryPostProcessors(java.lang.String absolutePath)

isValidEndpoint

protected abstract boolean isValidEndpoint(java.lang.Object bean)


Copyright © 2005-2012 FuseSource. All Rights Reserved.