Hello there,

this is a question about coding style. SCA components are coarse grained,
i. e. the actual component implementation can consist of many classes, only
one of which is defined as _the_ component implementation class in the composite
XML. It is only on this class that annotations like @Reference can be used to 
inject dependencies to other services. It is likely, however, that the 
referenced 
services really need to be called from one of the other classes in the component
implementation.

How do you pass the values of these reference variables to those ordinary Java
classes? Is there a special "SCA way" of doing this, perhaps making these 
References
globally available in a component, or do you just use normal Java programming 
idioms 
like property setters, or constructor/method parameters?

-- Sebastian
 

Reply via email to