"scott.stark(a)jboss.org" wrote :
| Where is this getType used to build the callback signature?
Nowhere. ;-)
You're gonna use it.
e.g.
| public class ICFHolder
| {
| private Map<Class, ICF> ifcs = new HashMap();
|
| public void addICF(ICF icf)
| {
| icfs.put(icf.getType(), icf);
| }
|
| ...
| }
|
Where callback would be on the addICF/removeICF.
getType is only there if you want to keep your map,
to know by the ICF::type which ICF to use on attachment.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186082#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...