Examples of release()


Examples of org.apache.avalon.excalibur.component.ExcaliburComponentManager.release()

                handleRequests( helloDB );
            }
            finally
            {
                // Release the HelloDBService instance
                manager.release( helloDB );
                helloDB = null;
            }
        }
        finally
        {
View Full Code Here

Examples of org.apache.avalon.framework.component.ComponentManager.release()

                        if (localSelector != parentSelector) {
                            // local selector wasn't given by chaining to the parent manager
                            localSelector.setParentSelector(parentSelector);
                        }
                        manager.release(localSelector);

                    } catch(Exception e) {
                        // ignore
                    }
View Full Code Here

Examples of org.apache.avalon.framework.component.ComponentSelector.release()

                    }
                } finally {
                    SessionContextImpl.copletInfo.set(null);
                    if (selector != null) {
                        for(int i=0; i<transformers.size(); i++) {
                            selector.release((Component)transformers.get(i));
                        }
                        this.manager.release(selector);
                    }
                }
                transformers.clear();
View Full Code Here

Examples of org.apache.avalon.framework.service.ServiceManager.release()

                    if (accessController != null) {
                        acResolver.release(accessController);
                    }
                    selector.release(acResolver);
                }
                manager.release(selector);
            }
        }

    }
View Full Code Here

Examples of org.apache.avalon.framework.service.ServiceSelector.release()

                throw new SourceException(msg, e);
            }

        } finally {
            if (datasource != null) {
                selector.release(datasource);
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.apache.axiom.util.blob.OverflowBlob.release()

        OverflowBlob serialized =
                (OverflowBlob) msgContext.getProperty(NhttpConstants.SERIALIZED_BYTES);
        try {
            serialized.writeTo(out);
        } finally {
            serialized.release();
        }
    }

    // -------------- utility methods -------------
    private void handleException(String msg, Exception e) throws AxisFault {
View Full Code Here

Examples of org.apache.beehive.controls.api.context.ResourceContext.release()

        // Iterate through the list of acquired ResourceContexts and release them
        //
        while (!_resourceContexts.empty())
        {
            ResourceContext resourceContext = _resourceContexts.pop();
            resourceContext.release();
        }

        // Clear the local flag indicating global resource release is occuring
        _releasingAll = false;
    }
View Full Code Here

Examples of org.apache.cocoon.components.CocoonComponentManager.release()

                        if (localSelector != parentSelector) {
                            // local selector wasn't given by chaining to the parent manager
                            localSelector.setParentSelector(parentSelector);
                        }
                        manager.release(localSelector);

                    } catch(Exception e) {
                        // ignore
                    }
View Full Code Here

Examples of org.apache.cocoon.components.flow.InterpreterSelector.release()

        Interpreter interpreter = (Interpreter)selector.select(language);

        try {
            interpreter.handleContinuation(contId, params, PipelinesNode.getRedirector(env));
        } finally {
            selector.release((Component)interpreter);
        }

        return true;
    }
}
View Full Code Here

Examples of org.apache.cocoon.components.language.generator.ProgramGenerator.release()

            }

            // Swap old and new sitemaps
            Sitemap oldSitemap = this.sitemap;
            this.sitemap = smap;
            programGenerator.release((CompiledComponent)oldSitemap);

            // add the source factory for the cocoon protocol
            this.sourceHandler.addFactory("cocoon",
                    new CocoonSourceFactory(this.sitemap, this.sitemap.getComponentManager()));
            getLogger().debug("Sitemap regeneration complete");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.