Examples of dispose()


Examples of org.apache.airavata.wsmg.msgbox.Storage.MsgBoxStorage.dispose()

            }
        }
        if (configurationcontext.getProperty(MsgBoxCommonConstants.MSGBOX_STORAGE) != null) {
            MsgBoxStorage msgBoxStorage = (MsgBoxStorage) configurationcontext
                    .getProperty(MsgBoxCommonConstants.MSGBOX_STORAGE);
            msgBoxStorage.dispose();
        }
    }

    public void startUp(ConfigurationContext configurationcontext, AxisService axisservice) {
      AiravataUtils.setExecutionAsServer();
View Full Code Here

Examples of org.apache.avalon.excalibur.component.ComponentHandler.dispose()

    }

    protected void removeGenerator(Object hint) {
        ComponentHandler handler = (ComponentHandler) this.componentHandlers.remove(hint);
        if (handler != null) {
            handler.dispose();
            this.classManager.reinstantiate();
            if (getLogger().isDebugEnabled()) {
                getLogger().debug("Removing " + handler.getClass().getName() + " for " + hint.toString());
            }
        }
View Full Code Here

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

            getLogger().debug("Work directory = " + workDir.getCanonicalPath());
        }
        startupManager.initialize();

        this.configure(startupManager);
        startupManager.dispose();
        startupManager = null;

        this.componentManager.initialize();

        // Get the Processor and keep it if it's ThreadSafe
View Full Code Here

Examples of org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispose()

    if (perThreadPoolSet != null) {// in case
      Iterator it = perThreadPoolSet.iterator();
      while(it.hasNext()){
        ResourceLimitingJdbcDataSource dsc = (ResourceLimitingJdbcDataSource)it.next();
        log.debug("Disposing pool: "+dsc.getInstrumentableName()+" @"+System.identityHashCode(dsc));
        dsc.dispose();
      }
      perThreadPoolSet.clear();
    }
  }
View Full Code Here

Examples of org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose()

        ClassInstanceObjectFactory factory =
            new ClassInstanceObjectFactory( PoolableTestObject.class, logger );
        ResourceLimitingPool pool = new ResourceLimitingPool( factory, 0, false, false, 0, 0 );

        pool.enableLogging( logger );
        pool.dispose();

        // Make sure the logger output check out.
        assertEquals(
            logger.toString(),
            ""
View Full Code Here

Examples of org.apache.avalon.excalibur.testcase.FullLifecycleComponent.dispose()

        component.initialize();
        component.start();
        component.suspend();
        component.resume();
        component.stop();
        component.dispose();
    }

    public void testMissingLogger()
        throws Exception
    {
View Full Code Here

Examples of org.apache.axis.attachments.AttachmentPart.dispose()

                activities.deleteDocument(documentIdentifier, docVersion);
              }
            }
            finally
            {
              ap.dispose();
            }

          }
          catch (java.net.SocketTimeoutException ioex)
          {
View Full Code Here

Examples of org.apache.axis.attachments.Attachments.dispose()

         */
        MessageContext msgContext = MessageContext.getCurrentContext();
        Message reqMsg = msgContext.getRequestMessage();
        Attachments messageAttachments = reqMsg.getAttachmentsImpl();

        messageAttachments.dispose();

        return null;
    }

    /**
 
View Full Code Here

Examples of org.apache.batik.bridge.BridgeContext.dispose()

        graphics.setPaintingState(generator.getState());
        graphics.setOutputStream(generator.getOutputStream());
        try {
            root.paint(graphics);
            ctx.dispose();
            generator.add(graphics.getString());
        } catch (Exception e) {
            SVGEventProducer eventProducer = SVGEventProducer.Provider.get(
                    context.getUserAgent().getEventBroadcaster());
            eventProducer.svgRenderingError(this, e, image.getInfo().getOriginalURI());
View Full Code Here

Examples of org.apache.batik.css.engine.CSSEngine.dispose()

        SVGOMDocument svgDocument = (SVGOMDocument)document;
        CSSEngine cssEngine = svgDocument.getCSSEngine();
        if (cssEngine != null) {
            cssEngine.removeCSSEngineListener(cssPropertiesChangedListener);
            cssEngine.dispose();
        }
        if (focusManager != null) {
            focusManager.dispose();
        }
    }
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.