public DistributedJDBCConfiguration getConfiguration() {
return (DistributedJDBCConfiguration)super.getConfiguration();
}
public Slice addSlice(String name, Map properties) {
Slice slice = ((DistributedJDBCConfigurationImpl)getConfiguration()).addSlice(name, properties);
ClassLoader loader = AccessController.doPrivileged(J2DoPrivHelper.getContextClassLoaderAction());
synchronizeMappings(loader, (JDBCConfiguration)slice.getConfiguration());
Collection<Broker> brokers = getOpenBrokers();
for (Broker broker : brokers) {
((DistributedBroker)broker).getDistributedStoreManager().addSlice(slice);
}
return slice;