ma.glasnost.orika
Interface MappingContextFactory

All Known Implementing Classes:
MappingContext.Factory

public interface MappingContextFactory

Author:
matt.deboer@gmail.com

Method Summary
 MappingContext getContext()
          Gets an available instance of MappingContext
 Map<Object,Object> getGlobalProperties()
           
 void release(MappingContext context)
          Allows for implementations that reuse objects to clean-up/clear any resources associated with the particular context instance once it is no longer needed.
 

Method Detail

getContext

MappingContext getContext()
Gets an available instance of MappingContext

Returns:
an instance of MappingContext

release

void release(MappingContext context)
Allows for implementations that reuse objects to clean-up/clear any resources associated with the particular context instance once it is no longer needed.

Parameters:
context - the context to be recycled

getGlobalProperties

Map<Object,Object> getGlobalProperties()
Returns:
a reference to the global properties map for this mapping context factory; any properties set here are available from any individual MappingContext created by this factory.


Copyright © 2013 Glasnost. All Rights Reserved.