/** Remove a SPARQL UDPATE listener. */ public void removeListener(final ISPARQLUpdateListener l) { if(isReadOnly()) throw new UnsupportedOperationException(); if (l == null) throw new IllegalArgumentException(); listeners.remove(l); }
/** Add a SPARQL UDPATE listener. */ public void addListener(final ISPARQLUpdateListener l) { if(isReadOnly()) throw new UnsupportedOperationException(); if (l == null) throw new IllegalArgumentException(); listeners.add(l); }
/** Add a SPARQL UDPATE listener. */ public void addListener(final ISPARQLUpdateListener l) { if(isReadOnly()) throw new UnsupportedOperationException(); if (l == null) throw new IllegalArgumentException(); listeners.add(l); }
txLog.info("SAIL-START-CONN : conn=" + this); if (!isReadOnly()) {
txLog.info("SAIL-START-CONN : conn=" + this); if (!isReadOnly()) {
if(isReadOnly()) throw new UnsupportedOperationException();
if(isReadOnly()) throw new UnsupportedOperationException();
/** * Return <code>true</code> if the connection does not permit mutation. */ public final boolean isReadOnly() { return getSailConnection().isReadOnly(); }
/** Remove a SPARQL UDPATE listener. */ public void removeListener(final ISPARQLUpdateListener l) { if(isReadOnly()) throw new UnsupportedOperationException(); if (l == null) throw new IllegalArgumentException(); listeners.remove(l); }
/** * Return <code>true</code> if the connection does not permit mutation. */ public final boolean isReadOnly() { return getSailConnection().isReadOnly(); }