gr.uoa.di.madgik.rr
Class ResourceRegistry
java.lang.Object
gr.uoa.di.madgik.rr.ResourceRegistry
public class ResourceRegistry
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceRegistry
public ResourceRegistry()
getContext
public static RRContext getContext()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
startBridging
public static void startBridging()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
isInitialBridgingComplete
public static boolean isInitialBridgingComplete()
throws ResourceRegistryException
- Throws:
ResourceRegistryException
retrieveDirect
public static void retrieveDirect(Class<?> item,
String id)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
retrieveDirect
public static void retrieveDirect(Class<?> item)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
storeDirect
public static void storeDirect(Class<?> item,
String id)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
storeDirect
public static void storeDirect(Class<?> item)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getReadOnlyTargets
public static Set<String> getReadOnlyTargets()
getUpdateTargets
public static Set<String> getUpdateTargets()
getEditableTargets
public static Set<String> getEditableTargets()
setDirty
public static void setDirty()
isWritePolicySupported
public static boolean isWritePolicySupported(RRContext.WritePolicy policy)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
isReadPolicySupported
public static boolean isReadPolicySupported(RRContext.ReadPolicy policy)
throws ResourceRegistryException
- Throws:
ResourceRegistryException
getCurrentIteration
public static long getCurrentIteration()
reset
public static void reset()
throws ResourceRegistryException,
InterruptedException
- Throws:
ResourceRegistryException
InterruptedException
Copyright © 2013. All Rights Reserved.