|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Factory used to instanciate
AsynchronousReference implementation.
| Method Summary | |
AsynchronousReference |
getInstance(Object object)
Returns the AsynchronousReference which references
the specified object. |
AsynchronousReference |
newInstance(ConstructorOp c,
Object[] args)
Returns a new AsynchronousReference which references
the object created with the given constructor and parameter. |
| Method Detail |
public AsynchronousReference getInstance(Object object)
Returns the AsynchronousReference which references
the specified object.
If such an asynchronous reference doesn't exist, it will be created.
object - the object the returned asynchronous reference must
refer to
public AsynchronousReference newInstance(ConstructorOp c,
Object[] args)
Returns a new AsynchronousReference which references
the object created with the given constructor and parameter.
c - the constructor to use for the instanciationargs - the arguments to use for the instanciation
RuntimeException - if an exception occurs during the
instanciation. Note that any implementation may at least throws the
following exception returned by Throwable.getCause():InstantiationException if the class that declares the
underlying constructor represents an abstract class.
InvocationTargetException if the underlying constructor
throws an exception.
ExceptionInInitializerError if the initialization
provoked by this method fails.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||