|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ehealth.technicalconnector.utils.ConfigurableFactoryHelper<T>
T - : the type to be created by the factory.public class ConfigurableFactoryHelper<T>
Factory framework methods.
| Constructor Summary | |
|---|---|
ConfigurableFactoryHelper(String classPropertyName,
String defaultClassPropertyName)
creates the helper with the required parameters. |
|
ConfigurableFactoryHelper(String classPropertyName,
String defaultClassPropertyName,
Class<T> clazz)
Deprecated. use ConfigurableFactoryHelper(String classPropertyName, String defaultClassPropertyName) instead |
|
| Method Summary | |
|---|---|
T |
getImplementation()
Creates a builder based on the given properties in the configuration or the default class property. |
T |
getImplementation(boolean useCache)
Creates a builder based on the given properties in the configuration or the default class property. |
T |
getImplementation(Map<String,Object> configParameters)
Creates a builder based on the given properties in the configuration or the default class property. |
T |
getImplementation(Map<String,Object> hashMap,
boolean usecache)
|
T |
getImplementation(Map<String,Object> configParameters,
boolean useCaching,
boolean silent)
Creates a builder based on the given properties in the configuration or the default class property. |
List<T> |
getImplementations()
|
List<T> |
getImplementations(boolean useCache)
|
List<T> |
getImplementations(boolean useCache,
boolean silent)
|
List<T> |
getImplementations(Map<String,Object> configParameters)
|
List<T> |
getImplementations(Map<String,Object> configParameters,
boolean useCache)
|
List<T> |
getImplementations(Map<String,Object> configParameters,
boolean useCache,
boolean silent)
|
void |
invalidateCache()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurableFactoryHelper(String classPropertyName,
String defaultClassPropertyName)
classPropertyName - the property in the config that indicates the builder implementation class to usedefaultClassPropertyName - the full classname of the default builder implementation to use ( if the property in the config is empty
)
@Deprecated
public ConfigurableFactoryHelper(String classPropertyName,
String defaultClassPropertyName,
Class<T> clazz)
classPropertyName - the property in the config that indicates the builder implementation class to usedefaultClassPropertyName - the full classname of the default builder implementation to use ( if the property in the config is empty
)clazz - Not used anymore| Method Detail |
|---|
public T getImplementation()
throws TechnicalConnectorException
TechnicalConnectorException
public T getImplementation(boolean useCache)
throws TechnicalConnectorException
useCache - boolean indicating if result must be cached or not
TechnicalConnectorException
public T getImplementation(Map<String,Object> configParameters)
throws TechnicalConnectorException
TechnicalConnectorException
public T getImplementation(Map<String,Object> hashMap,
boolean usecache)
throws TechnicalConnectorException
TechnicalConnectorException
public T getImplementation(Map<String,Object> configParameters,
boolean useCaching,
boolean silent)
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations()
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations(boolean useCache)
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations(boolean useCache,
boolean silent)
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations(Map<String,Object> configParameters)
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations(Map<String,Object> configParameters,
boolean useCache)
throws TechnicalConnectorException
TechnicalConnectorException
public List<T> getImplementations(Map<String,Object> configParameters,
boolean useCache,
boolean silent)
throws TechnicalConnectorException
TechnicalConnectorExceptionpublic void invalidateCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||