public class EntityEntryContext extends Object
ManagedEntity contract,
either directly or through bytecode enhancement.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EntityEntryContext.EntityEntryCrossRef |
| Constructor and Description |
|---|
EntityEntryContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntityEntry(Object entity,
EntityEntry entityEntry) |
void |
clear() |
static EntityEntryContext |
deserialize(ObjectInputStream ois,
StatefulPersistenceContext rtn) |
void |
downgradeLocks() |
EntityEntry |
getEntityEntry(Object entity) |
int |
getNumberOfManagedEntities() |
boolean |
hasEntityEntry(Object entity) |
Map.Entry<Object,EntityEntry>[] |
reentrantSafeEntityEntries() |
EntityEntry |
removeEntityEntry(Object entity) |
void |
serialize(ObjectOutputStream oos) |
public void addEntityEntry(Object entity, EntityEntry entityEntry)
public boolean hasEntityEntry(Object entity)
public EntityEntry getEntityEntry(Object entity)
public EntityEntry removeEntityEntry(Object entity)
public Map.Entry<Object,EntityEntry>[] reentrantSafeEntityEntries()
public void clear()
public void downgradeLocks()
public void serialize(ObjectOutputStream oos) throws IOException
IOExceptionpublic static EntityEntryContext deserialize(ObjectInputStream ois, StatefulPersistenceContext rtn) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic int getNumberOfManagedEntities()
Copyright © 2018 JBoss by Red Hat. All rights reserved.