protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler,
List<ServiceController<?>> newControllers) throws OperationFailedException {
// Read the full model
ModelNode config = Resource.Tools.readModel(context.readResource(PathAddress.EMPTY_ADDRESS));
// Create the builder
MemcachedServerConfigurationBuilder configurationBuilder = new MemcachedServerConfigurationBuilder();
this.configureProtocolServer(configurationBuilder, config);
final String cacheName;
if (config.hasDefined(ModelKeys.CACHE)) {
cacheName = config.get(ModelKeys.CACHE).asString();
configurationBuilder.defaultCacheName(cacheName);
} else {
cacheName = "memcachedCache";
}
// Create the service