JBoss VFS 3.0.1.GA

org.jboss.vfs.util.automount
Class AbstractMountOwner<T>

java.lang.Object
  extended by 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.

Author:
John Bailey

Constructor Summary
protected AbstractMountOwner(T owner)
          Construct with an object.
 
Method Summary
 boolean equals(Object other)
           
protected  T getOwner()
          Get the owner object
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.vfs.util.automount.MountOwner
onCleanup
 

Constructor Detail

AbstractMountOwner

protected AbstractMountOwner(T owner)
Construct with an object.

Parameters:
owner - the actual owner
Method Detail

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

JBoss VFS 3.0.1.GA

Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.