Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005782 [Resin] minor always 07-30-14 15:42 07-30-14 17:17
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0005782: make InjectManager.findByName() public
Description (req by D. Jimenez)

Working on our migration to Resin 4. Was looking for the replacement method to the following:

WebBeansContainer.getCurrent().findByName().

Most of WebBeansContainer can be replaced by InjectionManager, however I can’t seem to find an equivalent for this method. What I’m trying to do is get the value for a property set in web.xml using <resin:set>
Additional Information
Attached Files

- Relationships

- Notes
(0006464)
nam
07-30-14 17:17

preferred method:

  BeanManager manager = InjectManger.getCurrent();
  Bean<?> bean = manager.resolve(manager.getBeans(name));
  Object value = manager.getReference(bean, Object.class,
                                                             manager.createCreationalContext(bean));
 

- Issue History
Date Modified Username Field Change
07-30-14 15:42 nam New Issue
07-30-14 17:17 nam Status new => assigned
07-30-14 17:17 nam Assigned To  => nam
07-30-14 17:17 nam Status assigned => closed
07-30-14 17:17 nam Note Added: 0006464
07-30-14 17:17 nam Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker