@Configuration
public class RepositoryInitializer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARG_MONGO |
Constructor and Description |
---|
RepositoryInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Repository |
getRepository() |
org.apache.felix.connect.launch.PojoServiceRegistry |
getServiceRegistry() |
void |
initialize() |
public static final java.lang.String ARG_MONGO
@PostConstruct public void initialize() throws java.lang.Exception
java.lang.Exception
@PreDestroy public void close()
@Bean(name="repository") public Repository getRepository()
@Bean public org.apache.felix.connect.launch.PojoServiceRegistry getServiceRegistry()
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.