org.ow2.wildcat.hierarchy
Interface Mountable

All Known Subinterfaces:
Attribute, Resource, RunnableAttribute
All Known Implementing Classes:
POJOAttribute, QueryAttribute

public interface Mountable

Interface that Resources and Attributes must implement.


Method Summary
 boolean isMount()
           
 void mount(Context context, Path mountPoint)
          Mount the Mountable.
 void unMount()
          Unmount the Mountable.
 

Method Detail

isMount

boolean isMount()
Returns:
true if is mount, false else.

mount

void mount(Context context,
           Path mountPoint)
Mount the Mountable.

Parameters:
context - the context the Mountable is attached
mountPoint - the path to mount it

unMount

void unMount()
Unmount the Mountable.



Copyright © 2010 OW2 Consortium. All Rights Reserved.