class JAXWSAdapterRegistry {

    public void addAdapter(String contextRoot, String urlPattern, 
            Adapter info) {
        if (contextRoot == null)
            contextRoot = "";
        synchronized (store) {
            ContextAdapter contextRtInfo = store.get(contextRoot);
            if(contextRtInfo == null) {
                contextRtInfo = new ContextAdapter();
            }
            contextRtInfo.addAdapter(urlPattern, info);
            store.put(contextRoot, contextRtInfo);
        }
    }

    private  JAXWSAdapterRegistry();

}