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
 java.util.List getConsumes()
           Returns a list of Consumes representing the service unit being analyzed.
 java.util.List getProvides()
           Returns a list of Provides representing the service unit being analyzed.
 void init(java.io.File explodedServiceUnitRoot)
           Initializes the analyzer based on the root directory of an exploded service unit.
 

Method Detail

init

void init(java.io.File explodedServiceUnitRoot)

Initializes the analyzer based on the root directory of an exploded service unit.

Parameters:
explodedServiceUnitRoot -

getConsumes

java.util.List getConsumes()

Returns a list of Consumes representing the service unit being analyzed.

Returns:
A list of Consumes

getProvides

java.util.List getProvides()

Returns a list of Provides representing the service unit being analyzed.

Returns:
A list of provides


Copyright © 2005-2012 FuseSource. All Rights Reserved.