public ModelValidationMessage[] run(final Configuration configuration)
{
ModelValidationMessage[] messages = null;
if (configuration != null)
{
final Client serverClient = (Client)ComponentContainer.instance().findRequiredComponent(Client.class);
boolean client = true;
// only attempt to run with the client, if they
// have a server defined in their configuration
if (configuration.getServer() != null)
{
try
{
serverClient.start(configuration);
}
catch (final ConnectException exception)
{
// - if we can't connect to the server, it means
// we aren't running in client mode