DATAMONGO-634 - Expand scope of CDI bean to application scope.

We simply inherit the application scope from the parent implementation.
This commit is contained in:
Oliver Gierke
2013-03-25 17:05:56 +01:00
parent d3bf6c0a19
commit 4dcec1f6e2

View File

@@ -53,14 +53,6 @@ public class MongoRepositoryBean<T> extends CdiRepositoryBean<T> {
this.operations = operations;
}
/*
* (non-Javadoc)
* @see javax.enterprise.inject.spi.Bean#getScope()
*/
public Class<? extends Annotation> getScope() {
return operations.getScope();
}
/*
* (non-Javadoc)
* @see org.springframework.data.repository.cdi.CdiRepositoryBean#create(javax.enterprise.context.spi.CreationalContext, java.lang.Class)