|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.defaults.DecoratingComponentAdapter
org.picocontainer.defaults.ImplementationHidingComponentAdapter
org.picocontainer.alternatives.ImplementationHidingComponentAdapter
org.picocontainer.defaults
public class ImplementationHidingComponentAdapter
This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the key is an interface.
This class exists here, because a) it has no deps on external jars, b) dynamic proxy is quite easy. The user is prompted to look at picocontainer-gems for alternate and bigger implementations.
for a more feature-rich version of this class.
,
Serialized FormConstructor Summary | |
---|---|
ImplementationHidingComponentAdapter(ComponentAdapter delegate,
boolean strict)
Deprecated. since 1.2, moved to package org.picocontainer.defaults |
Method Summary |
---|
Methods inherited from class org.picocontainer.defaults.ImplementationHidingComponentAdapter |
---|
getComponentInstance |
Methods inherited from class org.picocontainer.defaults.DecoratingComponentAdapter |
---|
accept, changeMonitor, currentMonitor, dispose, dispose, getComponentImplementation, getComponentKey, getDelegate, hasLifecycle, hasLifecycle, start, start, stop, stop, toString, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImplementationHidingComponentAdapter(ComponentAdapter delegate, boolean strict)
org.picocontainer.defaults
delegate
- the component adapter to which this adapter delegatesstrict
- the scrict mode boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |