|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.behaviors.AbstractBehavior<T>
org.picocontainer.behaviors.Stored<T>
org.picocontainer.gems.jndi.JNDIExposed<T>
public class JNDIExposed<T>
exposes component to JNDI basically does same thing as cached, but uses JNDI reference instead. Maybe Cached shall be refactored? as there is little new functionality.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter |
|---|
org.picocontainer.ComponentAdapter.NOTHING |
| Field Summary |
|---|
| Fields inherited from class org.picocontainer.behaviors.Stored |
|---|
delegateHasLifecylce, disposed, instanceReference, started |
| Fields inherited from class org.picocontainer.behaviors.AbstractBehavior |
|---|
delegate |
| Constructor Summary | |
|---|---|
JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate)
construct reference itself using vanilla initial context. |
|
JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate,
JNDIObjectReference<T> instanceReference)
create with provided reference |
|
JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate,
String name)
create adapter with desired name |
|
| Method Summary | |
|---|---|
String |
toString()
|
| Methods inherited from class org.picocontainer.behaviors.Stored |
|---|
componentHasLifecycle, dispose, flush, getComponentInstance, getDescriptor, getStoredObject, start, stop |
| Methods inherited from class org.picocontainer.behaviors.AbstractBehavior |
|---|
accept, changeMonitor, currentMonitor, dispose, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentKey, getDelegate, hasLifecycle, start, stop, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate)
throws NamingException
delegate - delegate adapter
NamingException
public JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate,
JNDIObjectReference<T> instanceReference)
delegate - instanceReference -
public JNDIExposed(org.picocontainer.ComponentAdapter<T> delegate,
String name)
throws NamingException
delegate - name -
NamingException| Method Detail |
|---|
public String toString()
toString in class org.picocontainer.behaviors.AbstractBehavior<T>
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||