org.planx.xmlstore.koala.storage
Class PolicyFactory
java.lang.Object
org.planx.xmlstore.koala.storage.PolicyFactory
public class PolicyFactory
- extends Object
A factory for creating policy instances. Override the
instance method to change the policy created.
- Author:
- Thomas Ambus
PolicyFactory
public PolicyFactory()
setManager
public void setManager(SegmentManager man)
createIOPolicy
public IOPolicy<LocalLocator> createIOPolicy(Segment... segments)
throws IOException
- Returns a
StoragePolicy instance.
- Throws:
IOException
Copyright © 2004-2005 Plan-X. All Rights Reserved.