org.specrunner.result
Interface IWritableFactoryManager

All Superinterfaces:
IMappingManager<IWritableFactory<?>>, Map<String,IWritableFactory<?>>
All Known Implementing Classes:
WritableFactoryManagerImpl

public interface IWritableFactoryManager
extends IMappingManager<IWritableFactory<?>>

A writable factory.

Author:
Thiago Santos

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.specrunner.util.mapping.IMappingManager
DEFAULT_NAME
 
Method Summary
<T> IWritableFactory<T>
get(Class<T> type)
          Gets a writable factory by type.
 
Methods inherited from interface org.specrunner.util.mapping.IMappingManager
bind, getDefault, setDefault
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

get

<T> IWritableFactory<T> get(Class<T> type)
Gets a writable factory by type.

Type Parameters:
T - The object source type.
Parameters:
type - The type of object to be used for writable creation.
Returns:
A factory, if it exists, null, otherwise.


Copyright © 2014. All rights reserved.