public class OwnershipHelperKF extends Object implements OwnershipHelper
| Constructor and Description | 
|---|
OwnershipHelperKF(ApplicationManagerKF applicationManager)
Creates an ownership helper on KF. 
 | 
| 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. 
 | 
public OwnershipHelperKF(ApplicationManagerKF applicationManager)
applicationManager - the applications manager it depends on.@Nullable public Application getCurrentApplication()
OwnershipHelper
 If the owner is the kernel or the application is not found, the method returns null.
getCurrentApplication in interface OwnershipHelper@Nullable public Application getOwner(Object object)
OwnershipHelper
 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.
getOwner in interface OwnershipHelperobject - the object.