|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sessions.SessionEventAdapter org.eclipse.persistence.internal.jaxb.SessionEventListener org.eclipse.persistence.jpa.rs.util.PreLoginMappingAdapter
public class PreLoginMappingAdapter
This adapter alters the way the JAXBContext handles relationships for an existing persistence unit. It changes non-private relationship mappings to be read-only and replaces those mappings with a mapping to a weaved-in list of relationships that will produce links.
Field Summary | |
---|---|
protected org.eclipse.persistence.internal.sessions.AbstractSession |
jpaSession
|
Constructor Summary | |
---|---|
PreLoginMappingAdapter(org.eclipse.persistence.internal.sessions.AbstractSession jpaSession)
Instantiates a new pre login mapping adapter. |
Method Summary | |
---|---|
void |
preLogin(SessionEvent event)
PUBLIC: This Event is raised before the session logs in. |
Methods inherited from class org.eclipse.persistence.internal.jaxb.SessionEventListener |
---|
setShouldValidateInstantiationPolicy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.eclipse.persistence.internal.sessions.AbstractSession jpaSession
Constructor Detail |
---|
public PreLoginMappingAdapter(org.eclipse.persistence.internal.sessions.AbstractSession jpaSession)
jpaSession
- the jpa sessionMethod Detail |
---|
public void preLogin(SessionEvent event)
SessionEventAdapter
preLogin
in interface SessionEventListener
preLogin
in class org.eclipse.persistence.internal.jaxb.SessionEventListener
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |