Interface PeerManager

    • Field Detail

      • ROLE

        static final String ROLE
    • Method Detail

      • getPeerInstance

        <P extends Peer> P getPeerInstance​(String peerClassName,
                                           Class<? extends Peer> class1,
                                           String className)
                                    throws DataBackendException
        This method is provided to get more helpful exception messages.
        Parameters:
        peerClassName - the peerClassName
        class1 - expected class the peers should implement
        className - target class, i.e. the data object class type of the Peer object. The data object for which the peer is provided.
        Returns:
        peer instance
        Throws:
        DataBackendException - data backend exception