org.modelmapper
Interface Provider<T>

Type Parameters:
T - type to provide
All Known Implementing Classes:
AbstractProvider

public interface Provider<T>

Provides instances of type T.

Author:
Jonathan Halterman

Nested Class Summary
static interface Provider.ProvisionRequest<T>
          Contains provision request information.
 
Method Summary
 T get(Provider.ProvisionRequest<T> request)
          Returns an instance of the requested type T else null if the requested type cannot be provided.
 

Method Detail

get

T get(Provider.ProvisionRequest<T> request)
Returns an instance of the requested type T else null if the requested type cannot be provided.

Parameters:
request - information
Throws:
MappingException - if an error occurs while providing the requested type


Copyright © 2011. All Rights Reserved.