Hello, question about the stsclient config example at the bottom of this
page: https://cwiki.apache.org/CXF20DOC/ws-trust.html :
<bean name="{http://cxf.apache.org/}TestEndpoint.sts-client"
class="org.apache.cxf.ws.security.trust.STSClient" abstract="true">
<property name="wsdlLocation" value="WSDL/wsdl/trust.wsdl"/>
... many other properties ...
</bean>
Question, if I remove the abstract = true for the bean and add the
constructor arg given in the upper example on that page:
<bean name="{http://cxf.apache.org/}TestEndpoint.sts-client"
class="org.apache.cxf.ws.security.trust.STSClient">
<constructor-arg ref="cxf"/>
<property name="wsdlLocation" value="WSDL/wsdl/trust.wsdl"/>
... many other properties ...
</bean>
What's the effective difference? The Eclipse debugger appears to indicate
that they're the same.
For the lower example, I know I'm directly instantiating the STS Client and
giving the bus value of "cxf". For the abstract=true example, I guess
another object is being created behind-the-scenes using the values of this
abstract object, but can I safely assume that the bus value will be the same
"cxf" as if I directly set it as in the lower example? I.e., both examples
above are indeed the same thing?
Thanks,
Glen
--
View this message in context:
http://cxf.547215.n5.nabble.com/Question-on-indirect-instantiation-method-of-stsclient-tp1045922p1045922.html
Sent from the cxf-user mailing list archive at Nabble.com.