System.out.println("Creating an invocation engine");
engine = new DefaultInvocationEngine(transport);
//Load the GRIA plugins.
pluginManager = new GridClientPluginManager();
pluginManager.loadPlugins();
// Tell the engine how to find tokens by defining an
// attribute selector, which stores tokens in the token cache
engine.setAttributeSelector(new DefaultAttributeSelector(tokenCache));
// Tell the engine to use a federation selector, which finds