.addDependency(ContextNames.contextServiceNameOfModule("managedbean-example", "managedbean-example"), NamingStore.class, new Injector<NamingStore>() {
public void inject(final NamingStore value) throws InjectionException {
try {
injector.inject((Context) value.lookup(new CompositeName()));
} catch (NamingException e) {
throw new InjectionException(e);
}
}
public void uninject() {
injector.uninject();