|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceEngine<T extends RegistryBean>
This is the interface taking care for persisting bean to the registry.
Method Summary | |
---|---|
void |
create(PersistenceContext context,
T bean)
Deprecated. |
void |
createOrUpdate(PersistenceContext context,
T bean)
|
void |
delete(PersistenceContext context,
T bean)
Deletes the bean from the registry. |
T |
read(PersistenceContext context,
java.lang.Object object)
Read the specified object from the registry as RegistryBean . |
T |
read(PersistenceContext context,
java.lang.String id)
Read a RegistryBean from the registry by id. |
void |
update(PersistenceContext context,
T bean)
Deprecated. |
Method Detail |
---|
void delete(PersistenceContext context, T bean) throws MappingException, javax.xml.registry.JAXRException
MappingException
javax.xml.registry.JAXRException
@Deprecated void update(PersistenceContext context, T bean) throws MappingException, javax.xml.registry.JAXRException
context
- bean
-
MappingException
javax.xml.registry.JAXRException
T read(PersistenceContext context, java.lang.String id) throws MappingException, javax.xml.registry.JAXRException
RegistryBean
from the registry by id.
context
- id
-
MappingException
javax.xml.registry.JAXRException
T read(PersistenceContext context, java.lang.Object object) throws MappingException, javax.xml.registry.JAXRException
RegistryBean
.
context
- object
- Registry object
MappingException
javax.xml.registry.JAXRException
@Deprecated void create(PersistenceContext context, T bean) throws MappingException, javax.xml.registry.JAXRException
context
- bean
-
MappingException
javax.xml.registry.JAXRException
void createOrUpdate(PersistenceContext context, T bean) throws MappingException, javax.xml.registry.JAXRException
context
- bean
-
MappingException
javax.xml.registry.JAXRException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |