Interface ReplicatedStorageFacility


  • public interface ReplicatedStorageFacility
    • 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 ReplicatedStorage instance that can be used for storing RA state, or null if no such replicated storage has been named.
        Throws:
        FacilityException - if the replicated storage instance cannot be obtained due to a system-level failure.