1 5 6 package org.joseki.server.source; 7 8 10 import com.hp.hpl.jena.rdf.model.* ; 11 12 import org.joseki.server.*; 13 import org.apache.commons.logging.* ; 15 16 22 23 public class SourceControllerPermanent implements SourceController { 25 static Log logger = LogFactory.getLog(SourceControllerPermanent.class.getName()) ; 26 27 String serverURI ; 28 Model model ; 29 30 33 public SourceControllerPermanent(Model _model) 34 { 35 model = _model ; 36 } 37 38 41 44 47 public ModelSource createSourceModel(Resource description, String _serverURI) 49 { 50 serverURI = _serverURI ; 51 return new ModelSourcePermanent(this, model, serverURI) ; 52 } 53 54 public String getServerURI() { return serverURI ; } 55 56 public void activate() { logger.trace("activate") ; return ; } 58 59 public void deactivate() { logger.trace("deactivate") ; return ; } 61 62 public Model buildSource() 64 { 65 logger.debug("buildSource: "+serverURI) ; 66 return null ; 67 } 68 69 public void releaseSource() 71 { 72 logger.debug("releaseSource: "+serverURI) ; 73 } 74 } 75 76 102 | Popular Tags |