Package org.dspace.core

Examples of org.dspace.core.Context.abort()


        }
        finally
        {
            if (context != null && context.isValid())
            {
                context.abort();
            }
        }
        return -1;
    }
View Full Code Here


            {
               log.error(LogManager.getHeader(null, "cleanup", "Exception during DSpace context cleanup"), e);
            }
            if (context != null && context.isValid())
            {
                context.abort();
            }
        }
    }

    public void destroy()
View Full Code Here

                // the researcher page is not active so redirect the user to the home page
                response.sendRedirect(request.getContextPath() + "/");
            }
        }
        // nothing to save so abort the context to release resources
        context.abort();
        return null;       
  }
}
View Full Code Here

        }
        finally
        {
            if (context != null && context.isValid())
            {
                context.abort();
            }
        }

        return results;
    }
View Full Code Here

        }
        finally
        {
            if (context != null && context.isValid())
            {
                context.abort();
            }
        }
        return results;
    }
}
View Full Code Here

            log.error(e.getMessage(), e);
        }
        finally
        {
            if(context!=null && context.isValid()) {
                context.abort();
            }
        }

    }
View Full Code Here

            log.error(e.getMessage(), e);
        }
        finally
        {
            if(context!=null && context.isValid()) {
                context.abort();
            }
        }
       
    }
View Full Code Here

        finally
        {
            if (context != null && context.isValid())
            {
                // Nothing is actually written
                context.abort();
            }
        }
        log.info("#### END: -----" + new Date() + " ----- ####");
        System.exit(0);
    }
View Full Code Here

        }
        finally
        {
            if (context != null && context.isValid())
            {
                context.abort();
            }
        }

    }
View Full Code Here

            log.error(e.getMessage(), e);
        }
        finally
        {
            if (context != null && context.isValid())
                context.abort();
            }

    }
}
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.