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 Object
- implements MountOwner
Abstract MountOwner used to wrap a real object as an owner.
- Author:
- John Bailey
AbstractMountOwner
protected AbstractMountOwner(T owner)
- Construct with an object.
- Parameters:
owner
- the actual owner
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
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.