public Definition getDefinition() { if (wsdlDefinition == null) { Definition def = loadDefinition(); if (def != null) { if (configContext != null) { wsdlDefinition = new WSDLDefinitionWrapper(def, configContext.getAxisConfiguration() ); } else { wsdlDefinition = new WSDLDefinitionWrapper(def, wsdlURL, limitMemory, memoryType); } } } return wsdlDefinition; }
public Definition getUnwrappedDefinition() { Definition def; if ((wsdlDefinition != null) && (wsdlDefinition instanceof WSDLDefinitionWrapper)) { def = ((WSDLDefinitionWrapper) wsdlDefinition).getUnwrappedDefinition(); } else { def = wsdlDefinition; } return def; }
/** * @param def WDDL Definition * @param axisConfig Axis Configuration */ public WSDLDefinitionWrapper(Definition def,AxisConfiguration axisConfig ) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,AxisConfiguration) entry "); } setupMemoryParms(axisConfig); prepare(def, null); }
if (wrapper.getMemoryLimitType() == 0) { Definition wsdlDef = wrapper.getUnwrappedDefinition(); new WSDLDefinitionWrapper(wsdlDef, true, 2);
/** * @param def * @param limitMemory true if you want to use a memory sensitive wrapper */ public WSDLDefinitionWrapper(Definition def, boolean limitMemory, int memoryType) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition, boolean) entry"); } reduceWSDLMemoryCache = limitMemory; reduceWSDLMemoryType = memoryType; prepare(def, null); }
if (wrapper.getMemoryLimitType() == 0) { Definition wsdlDef = wrapper.getUnwrappedDefinition(); new WSDLDefinitionWrapper(wsdlDef, true, 2);
/** * @param def * @param limitMemory true if you want to use a memory sensitive wrapper */ public WSDLDefinitionWrapper(Definition def, boolean limitMemory, int memoryType) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition, boolean) entry"); } reduceWSDLMemoryCache = limitMemory; reduceWSDLMemoryType = memoryType; prepare(def, null); }
public Definition getDefinition() { if (wsdlDefinition == null) { Definition def = loadDefinition(); if (def != null) { if (configContext != null) { wsdlDefinition = new WSDLDefinitionWrapper(def, configContext.getAxisConfiguration() ); } else { wsdlDefinition = new WSDLDefinitionWrapper(def, wsdlURL, limitMemory, memoryType); } } } return wsdlDefinition; }
public Definition getUnwrappedDefinition() { Definition def; if ((wsdlDefinition != null) && (wsdlDefinition instanceof WSDLDefinitionWrapper)) { def = ((WSDLDefinitionWrapper) wsdlDefinition).getUnwrappedDefinition(); } else { def = wsdlDefinition; } return def; }
/** * @param def WDDL Definition * @param axisConfig Axis Configuration */ public WSDLDefinitionWrapper(Definition def,AxisConfiguration axisConfig ) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,AxisConfiguration) entry "); } setupMemoryParms(axisConfig); prepare(def, null); }
/** * Constructor * * @param def The WSDL Definition * @param wURL The URL for the wsdl * @param limitInMemory The setting indicating whether the in-memory WSDL copy * should be manipulated to reduce memory footprint */ public WSDLDefinitionWrapper(Definition def, URL wURL, boolean limitInMemory) { reduceWSDLMemoryCache = limitInMemory; if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,URL,boolean) entry"); } prepare(def, wURL); }
/** * Constructor * * @param Definition Definition for the WSDL * @boolean limitMemory */ public WSDL4JWrapper(Definition wsdlDefinition, boolean limitMemory, int memoryType) throws WSDLException { if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition, boolean) entry"); } this.limitMemory = limitMemory; this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, null, limitMemory, memoryType); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } }
public Definition getUnwrappedDefinition() { Definition def; if (wsdlDefinition == null) { def = loadDefinition(); } else if (wsdlDefinition instanceof WSDLDefinitionWrapper) { def = wsdlDefinition.getUnwrappedDefinition(); } else { def = wsdlDefinition; } return def; }
/** * Constructor * * @param def The WSDL Definition * @param wURL The URL for the wsdl * @param axisCfg The AxisConfiguration object, to be used to get configuration settings */ public WSDLDefinitionWrapper(Definition def, URL wURL, AxisConfiguration axisCfg) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,URL,AxisConfiguration) entry"); } // determine what the setting for the memory optimization is setupMemoryParms(axisCfg); prepare(def, wURL); }
/** * Constructor * * @param def The WSDL Definition * @param wURL The URL for the wsdl * @param limitType The setting indicating which reduction technique * to use */ public WSDLDefinitionWrapper(Definition def, URL wURL, int limitType) { reduceWSDLMemoryCache = true; reduceWSDLMemoryType = limitType; if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,URL,int) entry"); } prepare(def, wURL); }
/** * Constructor * * @param Definition Definition for the WSDL * @boolean limitMemory */ public WSDL4JWrapper(Definition wsdlDefinition, boolean limitMemory, int memoryType) throws WSDLException { if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(Definition, boolean) entry"); } this.limitMemory = limitMemory; this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, null, limitMemory, memoryType); } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } if (this.wsdlDefinition != null) { String baseURI = wsdlDefinition.getDocumentBaseURI(); try { wsdlURL = new URL(baseURI); } catch (Exception ex) { // just absorb the error } } }
public Definition getUnwrappedDefinition() { getWrappedDefinitionForUse(); Definition def; if ((wsdlDefinition != null) && (wsdlDefinition instanceof WSDLDefinitionWrapper)) { def = ((WSDLDefinitionWrapper) wsdlDefinition).getUnwrappedDefinition(); } else { def = wsdlDefinition; } return def; }
/** * Constructor * * @param def The WSDL Definition * @param wURL The URL for the wsdl * @param axisCfg The AxisConfiguration object, to be used to get configuration settings */ public WSDLDefinitionWrapper(Definition def, URL wURL, AxisConfiguration axisCfg) { if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,URL,AxisConfiguration) entry"); } // determine what the setting for the memory optimization is setupMemoryParms(axisCfg); prepare(def, wURL); }
/** * Constructor * * @param def The WSDL Definition * @param wURL The URL for the wsdl * @param limitInMemory The setting indicating whether the in-memory WSDL copy * should be manipulated to reduce memory footprint */ public WSDLDefinitionWrapper(Definition def, URL wURL, boolean limitInMemory) { reduceWSDLMemoryCache = limitInMemory; if (log.isDebugEnabled() ) { log.debug("WSDLDefinitionWrapper(Definition,URL,boolean) entry"); } prepare(def, wURL); }
/** * Full Constructor */ private WSDL4JWrapper(URL wsdlURL, Definition wsdlDefinition, ConfigurationContext configContext, JAXWSCatalogManager catalogManager, boolean limitMemory, int memoryType) throws WSDLException { super(); if (log.isDebugEnabled() ) { log.debug("WSDL4JWrapper(...) entry"); } this.configContext = configContext; this.catalogManager = catalogManager; this.wsdlURL = wsdlURL; this.limitMemory = limitMemory; // Only used if configContext is not present this.memoryType = memoryType; if ((wsdlDefinition != null) && !(wsdlDefinition instanceof WSDLDefinitionWrapper)) { if (configContext != null && configContext.getAxisConfiguration() != null) { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, configContext.getAxisConfiguration() ); } else { this.wsdlDefinition = new WSDLDefinitionWrapper(wsdlDefinition, wsdlURL, limitMemory, 2); } } else { this.wsdlDefinition = (WSDLDefinitionWrapper) wsdlDefinition; } }