Examples of onDelete()


Examples of org.apache.qpid.server.store.DurableConfigurationStore.onDelete()

        close();
        deleted();
        DurableConfigurationStore configurationStore = getConfigurationStore();
        if (configurationStore != null)
        {
            configurationStore.onDelete(this);
        }
    }

    protected void deleteVirtualHostIfExists()
    {
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

                MessageStore ms = _virtualHost.getMessageStore();
                if (ms != null)
                {
                    try
                    {
                        ms.onDelete();
                    }
                    catch(Exception e)
                    {
                        LOGGER.warn("Exception occured on store deletion", e);
                    }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

                MessageStore ms = _virtualHost.getMessageStore();
                if (ms != null)
                {
                    try
                    {
                        ms.onDelete();
                    }
                    catch(Exception e)
                    {
                        LOGGER.warn("Exception occured on store deletion", e);
                    }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

                MessageStore ms = _virtualHost.getMessageStore();
                if (ms != null)
                {
                    try
                    {
                        ms.onDelete();
                    }
                    catch(Exception e)
                    {
                        LOGGER.warn("Exception occured on store deletion", e);
                    }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

                MessageStore ms = _virtualHost.getMessageStore();
                if (ms != null)
                {
                    try
                    {
                        ms.onDelete();
                    }
                    catch(Exception e)
                    {
                        LOGGER.warn("Exception occurred on store deletion", e);
                    }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

            MessageStore ms = getMessageStore();
            if (ms != null)
            {
                try
                {
                    ms.onDelete();
                }
                catch (Exception e)
                {
                    _logger.warn("Exception occurred on message store deletion", e);
                }
View Full Code Here

Examples of org.apache.qpid.server.store.MessageStore.onDelete()

            MessageStore ms = getMessageStore();
            if (ms != null)
            {
                try
                {
                    ms.onDelete(this);
                }
                catch (Exception e)
                {
                    _logger.warn("Exception occurred on message store deletion", e);
                }
View Full Code Here

Examples of org.fao.geonet.services.resources.handlers.IResourceRemoveHandler.onDelete()

        if ("".equals(filename))
            throw new OperationAbortedEx("Empty filename. Unable to delete resource.");

        // Remove the file and update the file upload/downloads tables
        IResourceRemoveHandler removeHook = (IResourceRemoveHandler) context.getApplicationContext().getBean("resourceRemoveHandler");
        removeHook.onDelete(context, request, Integer.parseInt(id), filename, access);

        // Set parameter and process metadata to remove reference to the uploaded file
        request.getParameterMap().put("name", new String[]{filename});
        request.getParameterMap().put("protocol", new String[]{"WWW:DOWNLOAD-1.0-http--download"});
View Full Code Here

Examples of org.fao.geonet.services.resources.handlers.IResourceRemoveHandler.onDelete()

    String fname = elem.getText();

        // Remove the file and update the file upload/downloads tables
        IResourceRemoveHandler removeHook = (IResourceRemoveHandler) context.getApplicationContext().getBean("resourceRemoveHandler");
        removeHook.onDelete(context, params, Integer.parseInt(id), fname, access);

    // update the metadata
    params.addContent(new Element("_" + ref));
    Element version = params.getChild("version");
    version.setText((Integer.parseInt(version.getText()) + 1+ "");
View Full Code Here

Examples of org.hibernate.Interceptor.onDelete()

    @Override
    public void onDelete(Object entity, Serializable id, Object[] state,
                                    String[] propertyNames, Type[] types) {
        for (Iterator iterator = _interceptors.iterator(); iterator.hasNext();) {
            Interceptor interceptor = (Interceptor) iterator.next();
            interceptor.onDelete(entity, id, state, propertyNames, types);
        }
    }
   
    /*
     * @see org.hibernate.EmptyInterceptor#findDirty(java.lang.Object, java.io.Serializable, java.lang.Object[], java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])
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.