public interface ReplicatedStorageFacility
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY_NAME |
Modifier and Type | Method and Description |
---|---|
ReplicatedStorage |
getReplicatedStorage(String name)
Get a named replicated storage instance from the SLEE.
|
static final String CONFIG_PROPERTY_NAME
ReplicatedStorage getReplicatedStorage(String name) throws FacilityException
Get a named replicated storage instance from the SLEE. The replicated storage must have been declared in the RA’s oc-resource-adaptor-jar.xml descriptor, using the <replicated-storage> element.
name
- the name of the replicated storage instance, as specified in the <replicated-storage-name> element.ReplicatedStorage
instance that can be used for storing RA state, or null
if no such replicated storage has been named.FacilityException
- if the replicated storage instance cannot be obtained due to a system-level failure.