org.objectweb.dsrg.sofa.microarchitecture
Interface SOFAMicroInterceptor

All Superinterfaces:
SOFAMicroComponent
All Known Implementing Classes:
FactoryInterceptorController, InterceptorController, MIComponentImpl, MIInComponentImpl, MILifecycleImpl, MIServicePublisherOSGi, MIServiceTrackerOSGi, MIUpdateImpl

public interface SOFAMicroInterceptor
extends SOFAMicroComponent

Extends SOFAMicroComponent with methods allowing the microcomponent to bind to delegation chain.


Method Summary
 java.lang.Object getDelegatedProvided()
          Takes reference to delegated provided interface implementation.
 void setDelegatedRequired(java.lang.Object ref)
          Gives the microcomponent reference to interface where to delegate calls.
 
Methods inherited from interface org.objectweb.dsrg.sofa.microarchitecture.SOFAMicroComponent
getProvided, init, setRequired
 

Method Detail

getDelegatedProvided

java.lang.Object getDelegatedProvided()
                                      throws SOFAException
Takes reference to delegated provided interface implementation.

Returns:
Reference to delegated provided interface implementation.
Throws:
SOFAException

setDelegatedRequired

void setDelegatedRequired(java.lang.Object ref)
                          throws SOFAException
Gives the microcomponent reference to interface where to delegate calls.

Parameters:
ref - Interface implementation reference to delegate to.
Throws:
SOFAException