Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. @Named
  2. public class SomeService implements Service
  3. {
  4.  
  5. @Inject
  6. public Dependency dependency;
  7.  
  8. public void execute()
  9. {
  10. dependency.execute();
  11. }
  12. }
  13.  
  14.  
  15.  
  16. @Named
  17. public class Dependency
  18. {
  19. public void execute()
  20. {
  21.  
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement