|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RuntimeWire
The base wire type used to connect references and services
Method Summary | |
---|---|
void |
addInterface(Class<?> claz)
Adds an interface type generated proxies implement |
SCAObject |
getContainer()
Returns the SCAObject that contains this wire |
ServiceContract |
getServiceContract()
Returns the service contract associated with the wire |
Object |
getTargetService()
Returns the non-proxied target instance for this wire |
boolean |
isOptimizable()
Returns true if the wire and all of its interceptors and handlers can be optimized |
void |
setContainer(SCAObject container)
Sets the name of the SCAObject that contains this wire |
void |
setServiceContract(ServiceContract contract)
Sets the contract associated with the wire |
Method Detail |
---|
Object getTargetService() throws TargetException
TargetException
ServiceContract getServiceContract()
void setServiceContract(ServiceContract contract)
contract
- the contract associated with the wirevoid addInterface(Class<?> claz)
boolean isOptimizable()
SCAObject getContainer()
void setContainer(SCAObject container)
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |