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

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

public class PrivilegedMGraphWrapper
extends PrivilegedTripleCollectionWrapper
implements MGraph

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

Author:
mir

Constructor Summary
PrivilegedMGraphWrapper(MGraph wrappedMGraph)
           
 
Method Summary
 Graph getGraph()
          Returns the graph
 
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.MGraph
equals
 
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, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

PrivilegedMGraphWrapper

public PrivilegedMGraphWrapper(MGraph wrappedMGraph)
Method Detail

getGraph

public Graph getGraph()
Description copied from interface: MGraph
Returns the graph

Specified by:
getGraph in interface MGraph
Returns:
graph


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