|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ogf.graap.wsag.server.persistence.impl.SimplePersistentAgreement
public class SimplePersistentAgreement
Default implementation of a persistent agreement. Essentially this agreement is not persisted at all. It
implements the PersistentAgreement
interface and is superseded by the
DatabasePersistentAgreement
.
Constructor Summary | |
---|---|
SimplePersistentAgreement(Agreement agreement,
EndpointReferenceType epr)
|
Method Summary | |
---|---|
Agreement |
getAgreement()
|
EndpointReferenceType |
getAgreementEPR()
|
void |
load()
Loads the agreement (based on the persisted /information/state, the configuration/etc.). |
void |
save()
Saves/persistes an agreement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimplePersistentAgreement(Agreement agreement, EndpointReferenceType epr)
agreement
- the agreement instanceepr
- the agreement EPRMethod Detail |
---|
public Agreement getAgreement()
getAgreement
in interface PersistentAgreement
public EndpointReferenceType getAgreementEPR()
getAgreementEPR
in interface PersistentAgreement
public void load() throws Exception
load
in interface PersistentAgreement
Exception
- indicates an exception while loading the agreement from the databasepublic void save() throws Exception
save
in interface PersistentAgreement
Exception
- indicates an exception while saving the agreement to the database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |