Interface ManagedObjectUser
- All Known Implementing Classes:
ManagedObjectUserStandAlone
public interface ManagedObjectUser
User interested in using the
ManagedObject.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetFailure(Throwable cause) Indicates failure to obtain theManagedObject.voidsetManagedObject(ManagedObject managedObject) Specifies theManagedObjectto be used.
-
Method Details
-
setManagedObject
Specifies the
ManagedObjectto be used.This will be called by the
ManagedObjectSource.sourceManagedObject(ManagedObjectUser)method to provide theManagedObjectto thisManagedObjectUser.- Parameters:
managedObject-ManagedObjectto be used.
-
setFailure
Indicates failure to obtain theManagedObject.- Parameters:
cause- Cause of the failure.
-