|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.core.invocation.WireObjectFactory<T>
public class WireObjectFactory<T>
Uses a wire to return an object instance
Constructor Summary | |
---|---|
WireObjectFactory(java.lang.Class<T> interfaze,
RuntimeWire wire,
ProxyFactory proxyService)
Constructor. |
Method Summary | |
---|---|
T |
getInstance()
Return a instance of the type that this factory creates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WireObjectFactory(java.lang.Class<T> interfaze, RuntimeWire wire, ProxyFactory proxyService)
interfaze
- the interface to inject on the clientwire
- the backing wireproxyService
- the wire service to create the proxy
NoMethodForOperationException
Method Detail |
---|
public T getInstance() throws ObjectCreationException
ObjectFactory
getInstance
in interface ObjectFactory<T>
ObjectCreationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |