+ public DefaultAgent() {
+ try {
+ agentDescriptor = new SlcAgentDescriptor();
+ agentDescriptor.setUuid(UUID.randomUUID().toString());
+ agentDescriptor.setHost(InetAddress.getLocalHost().getHostName());
+ } catch (UnknownHostException e) {
+ throw new SlcException("Unable to create agent descriptor.", e);
+ }
+ }
+