Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
Constructor Summary | |
| |
|
Method Summary | |
String | |
Serializable | |
Object |
|
Object |
|
SessionImplementor | |
protected Object | |
void | |
protected boolean | |
boolean | |
boolean |
|
void |
|
void |
|
void | |
void |
|
protected AbstractLazyInitializer()
For serialization from the non-pojo initializers (HHH-3309)
protected AbstractLazyInitializer(String entityName, Serializable id, SessionImplementor session)
public final String getEntityName()
- Specified by:
- getEntityName in interface LazyInitializer
public final Serializable getIdentifier()
- Specified by:
- getIdentifier in interface LazyInitializer
public final Object getImplementation()
Return the underlying persistent object, initializing if necessary
- Specified by:
- getImplementation in interface LazyInitializer
public final Object getImplementation(SessionImplementor s) throws HibernateException
Return the underlying persistent object in the given Session, or null, do not initialize the proxy
- Specified by:
- getImplementation in interface LazyInitializer
public final SessionImplementor getSession()
- Specified by:
- getSession in interface LazyInitializer
protected final Object getTarget()
public final void initialize() throws HibernateException
- Specified by:
- initialize in interface LazyInitializer
protected final boolean isConnectedToSession()
public final boolean isUninitialized()
- Specified by:
- isUninitialized in interface LazyInitializer
public final void setIdentifier(Serializable id)
- Specified by:
- setIdentifier in interface LazyInitializer
public final void setImplementation(Object target)
- Specified by:
- setImplementation in interface LazyInitializer
public final void setSession(SessionImplementor s) throws HibernateException
- Specified by:
- setSession in interface LazyInitializer