Package org.jboss.vfs.util.automount
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 java.lang.Object implements MountOwner
Abstract MountOwner used to wrap a real object as an owner.- Author:
- John Bailey
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMountOwner(T owner)
Construct with an object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
protected T
getOwner()
Get the owner objectint
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(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-