[picocontainer-dev] [pico2] more generics

peter royal <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
so, i've made some mods on the pico2 spike so that we have:

public interface ComponentAdapter<T> {
     Object getComponentKey();

     Class<T> getComponentImplementation();

     T getComponentInstance(PicoContainer container) throws  
PicoInitializationException, PicoIntrospectionException;

     void verify(PicoContainer container) throws  
PicoIntrospectionException;

     void accept(PicoVisitor visitor);
}

.. seems sane, tests all still pass :)

-pete

-- 
(peter.royal|osi)@pobox.com - http://fotap.org/~osi
smime.p7s (application/pkcs7-signature, 2.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.