Package uk.gov.gchq.gaffer.rest.config
Class FactoryConfig
- java.lang.Object
-
- uk.gov.gchq.gaffer.rest.config.FactoryConfig
-
@Configuration public class FactoryConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
USER_FACTORY_CLASS_DEFAULT
-
Constructor Summary
Constructors Constructor Description FactoryConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExamplesFactory
createExamplesFactory()
GraphFactory
createGraphFactory()
AbstractUserFactory
createUserFactory()
void
setEnvironment(org.springframework.core.env.Environment environment)
void
setToSystemProperties()
-
-
-
Field Detail
-
USER_FACTORY_CLASS_DEFAULT
public static final String USER_FACTORY_CLASS_DEFAULT
-
-
Method Detail
-
setEnvironment
@Autowired public void setEnvironment(org.springframework.core.env.Environment environment)
-
setToSystemProperties
@PostConstruct public void setToSystemProperties()
-
createGraphFactory
@Bean public GraphFactory createGraphFactory() throws IllegalAccessException, InstantiationException
-
createUserFactory
@Bean public AbstractUserFactory createUserFactory() throws IllegalAccessException, InstantiationException
-
createExamplesFactory
@Bean public ExamplesFactory createExamplesFactory()
-
-