Class AbstractMountOwner<T>

java.lang.Object
org.jboss.vfs.util.automount.AbstractMountOwner<T>
Type Parameters:
T - the type of the actual owner
All Implemented Interfaces:
MountOwner
Direct Known Subclasses:
SimpleMountOwner, VirtualFileOwner

public abstract class AbstractMountOwner<T> extends Object implements MountOwner
Abstract MountOwner used to wrap a real object as an owner.
  • Field Details

    • owner

      private final T owner
  • Constructor Details

    • AbstractMountOwner

      protected AbstractMountOwner(T owner)
      Construct with an object.
      Parameters:
      owner - the actual owner
  • Method Details

    • getOwner

      protected T getOwner()
      Get the owner object
      Returns:
      the actual owner
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object