0

I used Apache CODI ViewAccessScope in my jsf application. But when i migrate Apache CODI to DeltaSpike (version 0.4), i did't find VViewAccessScope. Can anyone advise me, how to use ViewAccessScope with DeltaSpike

3 Answers3

1

I userd org.apache.deltaspike.core.api.scope.ViewAccessScoped and worked like a charm.

All i had to do was put the folloging dependencies in my pom.xml:

<dependency>
   <groupId>org.apache.deltaspike.core</groupId>
   <artifactId>deltaspike-core-api</artifactId>
   <version>1.5.1</version>
  </dependency>
  <dependency>
   <groupId>org.apache.deltaspike.core</groupId>
   <artifactId>deltaspike-core-impl</artifactId>
   <version>1.5.1</version>
   <scope>runtime</scope>
  </dependency>
  <dependency>
   <groupId>org.apache.deltaspike.modules</groupId>
   <artifactId>deltaspike-jsf-module-api</artifactId>
   <version>1.5.1</version>
  </dependency>
  <dependency>
   <groupId>org.apache.deltaspike.modules</groupId>
   <artifactId>deltaspike-jsf-module-impl</artifactId>
   <version>1.5.1</version>
   <scope>runtime</scope>
  </dependency>

Hope it helps

Tiago PC
  • 109
  • 1
  • 7
0

They're implementing it now, wait till 0.5.

rdcrng
  • 3,415
  • 2
  • 18
  • 36
0

Currently it isn't in DeltaSpike. I don't see that they started with it. Anyway, today I learned about http://os890.blogspot.com/2013/07/add-on-codi-scopes-for-deltaspike.html That works perfectly fine in a first test. It looks like it's the original implementation based on DeltaSpike modules instead of CODI-Core.

Dar Whi
  • 822
  • 5
  • 14