ma.glasnost.orika
Class MappingContext.Factory
java.lang.Object
ma.glasnost.orika.MappingContext.Factory
- All Implemented Interfaces:
- MappingContextFactory
- Enclosing class:
- MappingContext
public static class MappingContext.Factory
- extends Object
- implements MappingContextFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingContext.Factory
public MappingContext.Factory()
getContext
public MappingContext getContext()
- Description copied from interface:
MappingContextFactory
- Gets an available instance of MappingContext
- Specified by:
getContext in interface MappingContextFactory
- Returns:
- an instance of MappingContext
release
public void release(MappingContext context)
- Description copied from interface:
MappingContextFactory
- Allows for implementations that reuse objects to clean-up/clear any resources
associated with the particular context instance once it is no longer needed.
- Specified by:
release in interface MappingContextFactory
- Parameters:
context - the context to be recycled
getGlobalProperties
public Map<Object,Object> getGlobalProperties()
- Specified by:
getGlobalProperties in interface MappingContextFactory
- 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.