Package org.jboss.as.ejb3.component.entity

Examples of org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.discard()


                    }
                    throw ex;
                } catch (final Error e) {
                    if (ROOT_LOGGER.isTraceEnabled())
                        ROOT_LOGGER.trace("Discarding bean " + primaryKey + " because of error", e);
                    instance.discard();
                    throw e;
                } catch (final Throwable t) {
                    if (ROOT_LOGGER.isTraceEnabled())
                        ROOT_LOGGER.trace("Discarding bean " + primaryKey + " because of Throwable", t);
                    instance.discard();
View Full Code Here


                    instance.discard();
                    throw e;
                } catch (final Throwable t) {
                    if (ROOT_LOGGER.isTraceEnabled())
                        ROOT_LOGGER.trace("Discarding bean " + primaryKey + " because of Throwable", t);
                    instance.discard();
                    throw new RuntimeException(t);
                } finally {
                    // the StatefulSessionSynchronizationInterceptor will take care of releasing
                    context.putPrivateData(ComponentInstance.class, null);
                }
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.