|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.seaf.factory.impl.support.DelegatingFactoryBase
net.sf.seaf.factory.impl.ProxyingFactory
public class ProxyingFactory
Factory that proxies the returned instances with a Proxy.
| Constructor Summary | |
|---|---|
ProxyingFactory()
Default empty constructor. |
|
ProxyingFactory(Proxy proxy,
Factory instantiatingFactory)
Full constructor. |
|
| Method Summary | ||
|---|---|---|
|
getInstanceOf(Class<Type> type)
Return an initialized instance of the specified type. |
|
void |
setProxy(Proxy proxy)
Set the proxy. |
|
| Methods inherited from class net.sf.seaf.factory.impl.support.DelegatingFactoryBase |
|---|
getInstantiatingFactory, setInstantiatingFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyingFactory()
public ProxyingFactory(Proxy proxy,
Factory instantiatingFactory)
proxy - The proxyinstantiatingFactory - The instantiating factory| Method Detail |
|---|
public <Type> Type getInstanceOf(Class<Type> type)
Factory
getInstanceOf in interface Factorytype - The type of the requested instance
public final void setProxy(Proxy proxy)
proxy - The proxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||