* @throws StartException If any errors occur
*/
public synchronized void start(StartContext context) throws StartException {
final ModelController modelController = modelControllerValue.getValue();
final ExecutorService executorService = executorServiceValue.getValue();
final NetworkInterfaceBinding interfaceBinding = interfaceBindingValue.getValue();
modelControllerClient = modelController.createClient(executorService);
final int port = portValue.getOptionalValue();
InetSocketAddress bindAddress = null;
if (port > 0) {
bindAddress = new InetSocketAddress(interfaceBinding.getAddress(), port);
}
final int securePort = securePortValue.getOptionalValue();
InetSocketAddress secureBindAddress = null;
if (securePort > 0) {
secureBindAddress = new InetSocketAddress(interfaceBinding.getAddress(), securePort);
}
final SecurityRealmService securityRealmService = securityRealmServiceValue.getOptionalValue();
try {