org.apache.clerezza.rdf.core.impl.util
Class PrivilegedGraphWrapper

java.lang.Object
  extended by org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper
      extended by org.apache.clerezza.rdf.core.impl.util.PrivilegedGraphWrapper
All Implemented Interfaces:
Iterable<Triple>, Collection<Triple>, Graph, TripleCollection

public class PrivilegedGraphWrapper
extends PrivilegedTripleCollectionWrapper
implements Graph

Calls the methods of the wrapped Graph as privileged code, because they may need permissions like writing to disk or accessing network.

Author:
mir

Constructor Summary
PrivilegedGraphWrapper(Graph graph)
           
 
Method Summary
 
Methods inherited from class org.apache.clerezza.rdf.core.impl.util.PrivilegedTripleCollectionWrapper
add, addAll, addGraphListener, addGraphListener, clear, contains, containsAll, filter, isEmpty, iterator, remove, removeAll, removeGraphListener, retainAll, size, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.clerezza.rdf.core.Graph
equals, hashCode
 
Methods inherited from interface org.apache.clerezza.rdf.core.TripleCollection
addGraphListener, addGraphListener, filter, removeGraphListener
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

PrivilegedGraphWrapper

public PrivilegedGraphWrapper(Graph graph)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.