.install();
final InjectedValue<JDBCEntityPersistenceStore> persistenceStoreInjector = new InjectedValue<JDBCEntityPersistenceStore>();
configuration.getCreateDependencies().add(new DependencyConfigurator<Service<Component>>() {
public void configureDependency(final ServiceBuilder<?> serviceBuilder, final Service<Component> service) throws DeploymentUnitProcessingException {
final CmpEntityBeanComponentCreateService createService = (CmpEntityBeanComponentCreateService) service;
createService.setStoreManagerValue(persistenceStoreInjector);
serviceBuilder.addDependency(entityMapServiceName, TransactionEntityMap.class, createService.getTransactionEntityMapInjector());
}
});
configuration.getStartDependencies().add(new DependencyConfigurator<ComponentStartService>() {
public void configureDependency(ServiceBuilder<?> serviceBuilder, ComponentStartService service) throws DeploymentUnitProcessingException {
serviceBuilder.addDependency(initName, JDBCEntityPersistenceStore.class, persistenceStoreInjector);