/** * Create a new MembershipManager. Be sure to send the manager a postConnect() message * before you start using it. * * @param listener the listener to notify for callbacks * @param config the configuration of connection to distributed system * @param transport holds configuration information that can be used by the manager to configure itself * @param stats are used for recording statistical communications information * @return a MembershipManager */ static public MembershipManager newMembershipManager(DistributedMembershipListener listener, DistributionConfig config, RemoteTransportConfig transport, DMStats stats) { return services.newMembershipManager(listener, config, transport, stats); }
/** * Create a new MembershipManager. Be sure to send the manager a postConnect() message * before you start using it. * * @param logger the logger to use * @param securityLogger the security logger to use * @param listener the listener to notify for callbacks * @param config the configuration of connection to distributed system * @param transport holds configuration information that can be used by the manager to configure itself * @param stats are used for recording statistical communications information * @return a MembershipManager */ static public MembershipManager newMembershipManager(LogWriterI18n logger, LogWriterI18n securityLogger, DistributedMembershipListener listener, DistributionConfig config, RemoteTransportConfig transport, DMStats stats) { return services.newMembershipManager(logger, securityLogger, listener, config, transport, stats); } }