public synchronized void start(final StartContext context) throws StartException {
ROOT_LOGGER.endpointStarting(serverName);
boolean done = false;
try {
EmbeddedCacheManagerConfiguration embeddedCacheManagerConfiguration = cacheManagerConfiguration.getOptionalValue();
if (embeddedCacheManagerConfiguration != null) {
configurationBuilder.defaultCacheName(embeddedCacheManagerConfiguration.getDefaultCache());
}
SocketBinding socketBinding = getSocketBinding().getValue();
InetSocketAddress socketAddress = socketBinding.getSocketAddress();
configurationBuilder.host(socketAddress.getAddress().getHostAddress());
configurationBuilder.port(socketAddress.getPort());