public interface OwnershipHelper
| Modifier and Type | Method and Description | 
|---|---|
| Application | getCurrentApplication()Returns the application that owns the current thread context. | 
| Application | getOwner(Object object)Returns the application that owns the given object. | 
@Nullable Application getCurrentApplication()
 If the owner is the kernel or the application is not found, the method returns null.
@Nullable Application getOwner(Object object)
 If the object belongs to the kernel or the application is not found, the method returns null.
 
If the object is a proxy object, the implementation should return the application that owns the referenced object.
object - the object.