1 16 package org.apache.cocoon.webapps.session; 17 18 import java.io.IOException ; 19 20 import org.apache.cocoon.ProcessingException; 21 import org.apache.cocoon.webapps.session.context.SessionContext; 22 import org.xml.sax.SAXException ; 23 24 36 public interface ContextManager { 37 38 39 String ROLE = ContextManager.class.getName();; 40 41 47 SessionContext createContext(String name, String loadURI, String saveURI) 48 throws IOException , SAXException , ProcessingException; 49 50 55 void deleteContext(String name) 56 throws ProcessingException; 57 58 63 SessionContext getContext(String name) 64 throws ProcessingException; 65 66 69 boolean hasSessionContext() 70 throws ProcessingException; 71 72 77 boolean existsContext(String name) 78 throws ProcessingException; 79 } 80 | Popular Tags |