Class DomainConfFactory
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.DomainConfFactory
-
- All Implemented Interfaces:
DomainRegistry
public class DomainConfFactory extends Object implements DomainRegistry
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurableApplicationContext
ctx
protected static Logger
LOG
-
Constructor Summary
Constructors Constructor Description DomainConfFactory(ConfigurableApplicationContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultListableBeanFactory
beanFactory()
void
register(Domain domain)
protected void
registerBeanDefinition(String name, BeanDefinition beanDefinition)
protected void
registerSingleton(String name, Object bean)
void
unregister(String domain)
protected void
unregisterBeanDefinition(String name)
protected void
unregisterSingleton(String name)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
-
ctx
protected final ConfigurableApplicationContext ctx
-
-
Constructor Detail
-
DomainConfFactory
public DomainConfFactory(ConfigurableApplicationContext ctx)
-
-
Method Detail
-
beanFactory
protected DefaultListableBeanFactory beanFactory()
-
unregisterSingleton
protected void unregisterSingleton(String name)
-
unregisterBeanDefinition
protected void unregisterBeanDefinition(String name)
-
registerBeanDefinition
protected void registerBeanDefinition(String name, BeanDefinition beanDefinition)
-
register
public void register(Domain domain)
- Specified by:
register
in interfaceDomainRegistry
-
unregister
public void unregister(String domain)
- Specified by:
unregister
in interfaceDomainRegistry
-
-