Skip to content

Instantly share code, notes, and snippets.

@galderz
Forked from maniksurtani/gist:1231997
Created October 27, 2011 17:03
Show Gist options
  • Save galderz/1320143 to your computer and use it in GitHub Desktop.
Save galderz/1320143 to your computer and use it in GitHub Desktop.
...
import javax.ejb.Stateless;
import javax.inject.Inject;
import org.infinispan.Cache;
import org.infinispan.manager.EmbeddedCacheManager;
@Stateless
class FooEJB {
@Inject
Cache<String, String> defaultCache;
@Inject
EmbeddedCacheManager defaultCacheManager;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment