com.sun.jini.start
Class ServiceStarter.Result

java.lang.Object
  extended by com.sun.jini.start.ServiceStarter.Result
Enclosing class:
ServiceStarter

private static class ServiceStarter.Result
extends Object

Trivial class used as the return value by the create methods. This class aggregates the results of a service creation attempt: proxy (if any), exception (if any), associated descriptor object.


Field Summary
 ServiceDescriptor descriptor
          Associated ServiceDescriptor object used to create the service instance
 Exception exception
          Service creation exception, if any.
 Object result
          Service proxy object, if any.
 
Constructor Summary
ServiceStarter.Result(ServiceDescriptor d, Object o, Exception e)
          Trivial constructor.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

result

public final Object result
Service proxy object, if any.


exception

public final Exception exception
Service creation exception, if any.


descriptor

public final ServiceDescriptor descriptor
Associated ServiceDescriptor object used to create the service instance

Constructor Detail

ServiceStarter.Result

ServiceStarter.Result(ServiceDescriptor d,
                      Object o,
                      Exception e)
Trivial constructor. Simply assigns each argument to the appropriate field.

Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.