public class NullSafeStorage extends Object implements SafeStorage
SafeStorage
. This is
intended as a placeholder pending release of UHN's Simple Record Store
project.Constructor and Description |
---|
NullSafeStorage() |
Modifier and Type | Method and Description |
---|---|
void |
discard(Transportable theMessage)
Does nothing.
|
Transportable[] |
restore()
Returns an empty array.
|
void |
store(Transportable theMessage)
Does nothing.
|
public NullSafeStorage()
public void store(Transportable theMessage) throws HL7Exception
store
in interface SafeStorage
theMessage
- the message to storeHL7Exception
- if there is some problem accessing the storepublic void discard(Transportable theMessage) throws HL7Exception
discard
in interface SafeStorage
theMessage
- the message to discardHL7Exception
- if there is some problem accessing the storepublic Transportable[] restore() throws HL7Exception
restore
in interface SafeStorage
HL7Exception
- if there is some problem accessing the storeCopyright © 2001–2017 University Health Network. All rights reserved.