Interface ManagedObjectUser
-
- All Known Implementing Classes:
ManagedObjectUserStandAlone
public interface ManagedObjectUser
User interested in using theManagedObject
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setFailure(java.lang.Throwable cause)
Indicates failure to obtain theManagedObject
.void
setManagedObject(ManagedObject managedObject)
Specifies theManagedObject
to be used.
-
-
-
Method Detail
-
setManagedObject
void setManagedObject(ManagedObject managedObject)
Specifies the
ManagedObject
to be used.This will be called by the
ManagedObjectSource.sourceManagedObject(ManagedObjectUser)
method to provide theManagedObject
to thisManagedObjectUser
.- Parameters:
managedObject
-ManagedObject
to be used.
-
setFailure
void setFailure(java.lang.Throwable cause)
Indicates failure to obtain theManagedObject
.- Parameters:
cause
- Cause of the failure.
-
-