Hi Glen,
You can see the getChain method in PhaseChainCache.java [1] call this
constructor.
The code piece below show generally how to create the PIC
PhaseChainCache outboundChainCache = new PhaseChainCache();
PhaseManager pm = getBus().getExtension(PhaseManager.class);
List<Interceptor> outList = new ArrayList<Interceptor>();
outList.add(new SoapPreProtocolOutInterceptor());
outList.add(new SoapOutInterceptor(getBus()));
PhaseInterceptorChain outChain = outboundChainCache.get(
pm.getOutPhases(), outList);
[1]
https://svn.apache.org/repos/asf/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/phase/PhaseChainCache.java
Best Regards
Freeman
On 1/27/08, Glen Mazza <[EMAIL PROTECTED]> wrote:
>
> Team, in the org.apache.cxf.phase.PhaseInterceptorChain (PIC) class, the
> listing of phases are populated in the PIC constructor, shown in lines
> 131 to 136 here: http://tinyurl.com/ytxfzk
>
> Question: What code is calling this constructor? I'd like to see where
> the list of phases are coming from. I am guessing it is from a Spring
> configuration file, because I can't find the source file making the
> constructor call.
>
> Thanks,
> Glen
>
>
>