Interface ReplicatedStorageFacility
-
public interface ReplicatedStorageFacility
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_PROPERTY_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicatedStoragegetReplicatedStorage(String name)Get a named replicated storage instance from the SLEE.
-
-
-
Field Detail
-
CONFIG_PROPERTY_NAME
static final String CONFIG_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReplicatedStorage
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.
- Parameters:
name- the name of the replicated storage instance, as specified in the <replicated-storage-name> element.- Returns:
- a
ReplicatedStorageinstance that can be used for storing RA state, ornullif no such replicated storage has been named. - Throws:
FacilityException- if the replicated storage instance cannot be obtained due to a system-level failure.
-
-