org.hypergraphdb.peer
Interface BootstrapPeer

All Known Implementing Classes:
AffirmIdentityBootstrap, ReplicationBootstrap

public interface BootstrapPeer

Implementations of this interface perform initialization operations on a HyperGraphPeer. The intent is to register various services that the peer is able to perform, e.g. the tasks it participates to etc. Multiple implementations can be provided at configuration time by listing them in the top-level bootstrap JSON configuration property.

Author:
Borislav Iordanov

Method Summary
 void bootstrap(HyperGraphPeer peer, java.util.Map<java.lang.String,java.lang.Object> config)
           Perform peer initialization with the given configuration map.
 

Method Detail

bootstrap

void bootstrap(HyperGraphPeer peer,
               java.util.Map<java.lang.String,java.lang.Object> config)

Perform peer initialization with the given configuration map. The configuration is specific to the bootstrap instance invoked. Each implementation of this class should document the configuration that it accepts.

Parameters:
peer -
config -