|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.injection.InterCompositeReferenceFactory<T>
public class InterCompositeReferenceFactory<T>
Returns a direct reference to a target service exposed in another composite, i.e. the factory avoids creating proxies and returns the actual target instance
Constructor Summary | |
---|---|
InterCompositeReferenceFactory(java.lang.String targetName)
Reference source is an external service, target is in another module |
Method Summary | |
---|---|
T |
getInstance()
Return a instance of the type that this factory creates. |
void |
setContextResolver(ContextResolver resolver)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterCompositeReferenceFactory(java.lang.String targetName)
targetName
- the name of the target serviceMethod Detail |
---|
public void setContextResolver(ContextResolver resolver)
public T getInstance() throws ObjectCreationException
ObjectFactory
getInstance
in interface ObjectFactory<T>
ObjectCreationException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |