public class ComponentFactories extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
environment |
protected Map<Class,ComponentFactory> |
factories |
static String |
MAIN_MENU |
Constructor and Description |
---|
ComponentFactories() |
Modifier and Type | Method and Description |
---|---|
<T> void |
add(Class<? extends ComponentFactory<T>> clazz,
ComponentFactory<T> factory) |
<T> ComponentFactory<T> |
get(Class<? extends ComponentFactory<T>> clazz) |
void |
setEnvironment(String environment) |
public static final String MAIN_MENU
protected Map<Class,ComponentFactory> factories
protected String environment
public <T> ComponentFactory<T> get(Class<? extends ComponentFactory<T>> clazz)
public <T> void add(Class<? extends ComponentFactory<T>> clazz, ComponentFactory<T> factory)
public void setEnvironment(String environment)
Copyright © 2016 Alfresco. All rights reserved.