public class Neo4jCdiRepositoryBean<T> extends CdiRepositoryBean<T>
CdiRepositoryBean to create Neo4j repository instances via CDI.| Constructor and Description |
|---|
Neo4jCdiRepositoryBean(javax.enterprise.inject.spi.Bean<org.neo4j.ogm.session.Session> sessionBean,
Set<Annotation> qualifiers,
Class<T> repositoryType,
javax.enterprise.inject.spi.BeanManager beanManager,
CustomRepositoryImplementationDetector detector)
Creates a new
Neo4jCdiRepositoryBean. |
| Modifier and Type | Method and Description |
|---|---|
protected T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext,
Class<T> repositoryType,
Object customImplementation) |
create, create, destroy, getBeanClass, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, initialize, isAlternative, isNullable, lookupConfiguration, toStringpublic Neo4jCdiRepositoryBean(javax.enterprise.inject.spi.Bean<org.neo4j.ogm.session.Session> sessionBean,
Set<Annotation> qualifiers,
Class<T> repositoryType,
javax.enterprise.inject.spi.BeanManager beanManager,
CustomRepositoryImplementationDetector detector)
Neo4jCdiRepositoryBean.sessionBean - must not be null.qualifiers - must not be null.repositoryType - must not be null.beanManager - must not be null.detector - detector for the custom Repository implementations
CustomRepositoryImplementationDetector, can be null.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.