* {@inheritDoc}
* @see org.jboss.msc.service.Service#start(org.jboss.msc.service.StartContext)
*/
@Override
public void start(final StartContext context) throws StartException {
ProtocolStackConfigurator configurator = load(ProtocolDefaultsService.this.resource);
Defaults defaults = new Defaults();
for (org.jgroups.conf.ProtocolConfiguration config: configurator.getProtocolStack()) {
defaults.add(config.getProtocolName(), config.getProperties());
}
ProtocolDefaultsService.this.defaults = defaults;
}