Examples of cleanup()


Examples of org.jboss.ws.core.soap.attachment.SwapableMemoryDataSource.cleanup()

            try
            {
               if(attachment.getDataHandler().getDataSource() instanceof SwapableMemoryDataSource)
               {
                  SwapableMemoryDataSource swapFile = (SwapableMemoryDataSource)attachment.getDataHandler().getDataSource();
                  swapFile.cleanup();
               }
            }
            catch (SOAPException e)
            {
               log.warn("Failed to cleanup attachment part", e);
View Full Code Here

Examples of org.jboss.ws.extensions.security.WSSecurityAPI.cleanup()

         String actual = DOMWriter.printNode(soapMsg.getSOAPPart().getEnvelope(), true);
         assertEquals(expected, actual);
      }
      finally
      {
         sec.cleanup();
      }
   }

   // WS-Security leaves wsu:id attributes around on elements which are not
   // cleaned
View Full Code Here

Examples of org.jboss.ws.extensions.security.WSSecurityDispatcher.cleanup()

         String actual = DOMWriter.printNode(soapMsg.getSOAPPart().getEnvelope(), true);
         assertEquals(expected, actual);
      }
      finally
      {
         sec.cleanup();
      }
   }

   // WS-Security leaves wsu:id attributes around on elements which are not
   // cleaned
View Full Code Here

Examples of org.jdesktop.wonderland.common.cell.ProximityListenerRecord.cleanup()

            listenerRecords.remove(comp);
           
            if (found != null) {
                // clean up the listener so an exit event is generated
                Cell viewCell = ClientContextJME.getViewManager().getPrimaryViewCell();
                found.cleanup(viewCell.getCellID());
            }           
        }
    }
   
    @Override
View Full Code Here

Examples of org.jdesktop.wonderland.modules.appbase.client.Window2D.cleanup()

                    view2D = null;
                }
                if (component instanceof HUDComponent2D) {
                    HUDComponent2D component2D = (HUDComponent2D) component;
                    if (component2D.isHUDManagedWindow()) {
                        window.cleanup();
                    }
                }
            }

            // remove in-world view
View Full Code Here

Examples of org.jresearch.gossip.util.MessageProcessor.cleanup()

                String tSubj = dao.getThreadSubject(messageForm.getTid());
                MessageProcessor mp = MessageProcessor.getInstance();
                String mess = mp.prepareMessage(HtmlCodec.encode(messageForm
                        .getText()), 0, messages);
                mess = mp.cleanup(mess);

                /*
                 * {0} - subsriber's login {1} - site url {2} - show message url
                 * {3} - topic title {4} - new message text {5} - new message
                 * sender {6} - site name
View Full Code Here

Examples of org.jruby.ext.openssl.x509store.StoreContext.cleanup()

                    int i = cert_ctx.verifyCertificate();
                    int j = 0;
                    if(i <= 0) {
                        j = cert_ctx.getError();
                    }
                    cert_ctx.cleanup();
                    if(i <= 0) {
                        throw new PKCS7Exception(F_PKCS7_VERIFY, R_CERTIFICATE_VERIFY_ERROR, "Verify error:" + X509Utils.verifyCertificateErrorString(j));
                    }
                } catch(PKCS7Exception e) {
                    throw e;
View Full Code Here

Examples of org.jruby.util.io.OpenFile.cleanup()

            write_fptr = write_io.openFile;

            boolean locked = write_fptr.lock();
            try {
                if (write_fptr != null && write_fptr.fd() != null) {
                    write_fptr.cleanup(runtime, true);
                }
            } finally {
                if (locked) write_fptr.unlock();
            }
        }
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.DockableDescriptor.cleanup()

    }

    public void removeDockableDescriptor(String id) {
        DockableDescriptor descriptor = dockableDescriptorMap.remove(id);
        if (descriptor != null)
            descriptor.cleanup();
    }

    public DockableDescriptor getDockableDescriptorBySource(Object source) {
        if (source instanceof Dockable)
            return getDockableDescriptor(((Dockable) source).getId());
View Full Code Here

Examples of org.noos.xing.mydoggy.plaf.ui.ToolWindowDescriptor.cleanup()

                // Fire event
                fireUnregisteredToolEvent(toolWindowDescriptor.getToolWindow());

                // Clean
                toolWindowDescriptor.cleanup();
            }
        } else
            throw new IllegalArgumentException("Doesn't exist a tool window with passed id. [id : " + id + "]");
    }
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.