org.apache.woden.internal
Class WSDLContext

java.lang.Object
  extended by org.apache.woden.internal.WSDLContext

public class WSDLContext
extends java.lang.Object

A container of objects shared internally across the Woden implementation. Intially, within the context of a WSDLFactory, the properties of this object are passed by the WSDLFactory implementation to the constructor, with a null value for the uriResolver property (as this is set by the WSDLReader, not the factory).

Within the finer grained context of a WSDLReader, the uriResolver property will reference the resolver used by the reader and if the reader's extension registry reference changes, the extensionRegistry property will reflect that new reference.

TODO if this needs to be made public on the API, either keep it as an immutable data object as-is, or create an API interface called WSDLContext with getters instead of public variables and create an implementation class called WSDLContextImpl.
TODO check for use cases that break the WSDLFactory context concept (ie WSDLReader.setFactoryImplName).
TODO decide if anything else should be kept here (e.g. woden feats & props, Description factory)

Author:
John Kaputin (jkaputin@apache.org)

Field Summary
 ErrorReporter errorReporter
           
 ExtensionRegistry extensionRegistry
           
 URIResolver uriResolver
           
 WSDLFactory wsdlFactory
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wsdlFactory

public final WSDLFactory wsdlFactory

errorReporter

public final ErrorReporter errorReporter

extensionRegistry

public final ExtensionRegistry extensionRegistry

uriResolver

public final URIResolver uriResolver


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.