You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "Tully, Gary" <Ga...@iona.com> on 2007/11/08 18:06:28 UTC

Query on AbstractBindingFactory.registerWithBindingManager

Hi,
Is there a good reason why the 

 @PostConstruct
 void registerWithBindingManager() { ..

method of AbstractBindingFactory[1] is package private?

The down side is that a BindingFactory in a different package needs to
provide it's own implementation of this method as the @PostConstruct
will not work for a derived class in a different package. It is not
visible.
Is there an up side? Why is it not public?

I see that with the StringBeamMap, registration of a binding/transport
provider can happen under the covers so registration is not strictly
required. Is this expected to be the norm? Binding Providers need not
register them selves at all once they have the appropriate
activationNamespaces or transportIds attributes, hence there is no need
to call registerWithBindingManager()?

Thanks in advance,
Gary.

http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/o
rg/apache/cxf/binding/AbstractBindingFactory.java?view=markup

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland