Interface ManagedObjectContext

    • Method Detail

      • getBoundName

        java.lang.String getBoundName()

        Obtains the name this ManagedObject is bound under.

        This is useful to have a unique name identifying the ManagedObject.

        Returns:
        Name this ManagedObject is bound under.
      • getLogger

        java.util.logging.Logger getLogger()
        Obtains the Logger for the ManagedObject.
        Returns:
        Logger for the ManagedObject.
      • run

        <R,​T extends java.lang.Throwable> R run​(ProcessSafeOperation<R,​T> operation)
                                               throws T extends java.lang.Throwable
        Undertakes a ProcessSafeOperation.
        Type Parameters:
        R - Return type from operation
        T - Possible Throwable type from operation.
        Parameters:
        operation - ProcessSafeOperation.
        Returns:
        Return value.
        Throws:
        T - Possible Throwable.
        T extends java.lang.Throwable