net.officefloor.autowire.spi.supplier.source
Interface SupplierSource

All Known Implementing Classes:
AbstractSupplierSource

public interface SupplierSource

Supplies ManagedObject instances for AutoWire by the AutoWireApplication.

The supplied ManagedObject instances are only used should the AutoWireApplication require an AutoWire of the potentially supplied ManagedObject.

Author:
Daniel Sagenschneider

Method Summary
 SupplierSourceSpecification getSpecification()
           Obtains the SupplierSourceSpecification for this SupplierSource.
 void supply(SupplierSourceContext context)
          Supplies the necessary ManagedObject instances.
 

Method Detail

getSpecification

SupplierSourceSpecification getSpecification()

Obtains the SupplierSourceSpecification for this SupplierSource.

This enables the SupplierSourceContext to be populated with the necessary details as per this SupplierSourceSpecification in loading the SupplierType.

Returns:
SupplierSourceSpecification.

supply

void supply(SupplierSourceContext context)
            throws Exception
Supplies the necessary ManagedObject instances.

Parameters:
context - SupplierSourceContext.
Throws:
Exception - If fails to provide supply of ManagedObject instances.


Copyright © 2005-2013. All Rights Reserved.