| |
|
| java.lang.Object org.picocontainer.gems.jndi.JNDIProvided
JNDIProvided | public class JNDIProvided implements ComponentAdapter<T>,Serializable(Code) | | represents dependency provided via JNDI. This dependency is not
to be managed by container at all, so there is no lifecycle, no
monitoring etc.
author: Konstantin Pribluda |
JNDIProvided | public JNDIProvided(Object componentKey, JNDIObjectReference<T> reference)(Code) | | create adapter with specified key and reference
Parameters: componentKey - component key Parameters: reference - JNDI reference storing component |
JNDIProvided | public JNDIProvided(JNDIObjectReference<T> reference)(Code) | | create adapter with JNDI reference. referenced object class will be
takes as key
Parameters: reference - JNDI reference storing component |
JNDIProvided | public JNDIProvided(String jndiName) throws NamingException(Code) | | create adapter based on JNDI name. I leave this unchecked because
type is really not known at this time
Parameters: jndiName - name to be used throws: NamingException - will be thrown if something goes wrong in JNDI |
accept | public void accept(PicoVisitor visitor)(Code) | | as there is no puprose of proceeding further down,
we do nothing here
|
findAdapterOfType | public U findAdapterOfType(Class<U> componentAdapterType)(Code) | | |
getComponentImplementation | public Class getComponentImplementation()(Code) | | |
|
|
|