org.apache.servicemix.common.packaging
Interface ServiceUnitAnalyzer

All Known Implementing Classes:
AbstractXBeanServiceUnitAnalyzer

public interface ServiceUnitAnalyzer

Provides a interface that components can implement, if they implement this interface and expose the name of the analyzer in their Maven Project Object Model then the tooling can use this to analyze a Service Unit for the component during packaging to generate the consumes and provides elements for the service unit's jbi.xml

Since:
3.0
Version:
$Revision: 426415 $
Author:
Philip Dodds
See Also:
Consumes, {@link Consumes}, Provides, {@link Provides}

Method Summary
 List getConsumes()
          Returns a list of Consumes representing the service unit being analyzed
 List getProvides()
          Returns a list of Provides representing the service unit being analyzed
 void init(File explodedServiceUnitRoot)
          Initializes the analyzer based on the root directory of an exploded service unit
 

Method Detail

init

void init(File explodedServiceUnitRoot)
Initializes the analyzer based on the root directory of an exploded service unit

Parameters:
explodedServiceUnitRoot -

getConsumes

List getConsumes()
Returns a list of Consumes representing the service unit being analyzed

Returns:
A list of Consumes

getProvides

List getProvides()
Returns a list of Provides representing the service unit being analyzed

Returns:
A list of provides


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