1 19 20 package com.sslexplorer.extensions; 21 22 import java.io.IOException ; 23 24 import org.jdom.Element; 25 26 import com.sslexplorer.security.SessionInfo; 27 28 public interface ExtensionType { 29 public void start(ExtensionDescriptor descriptor, Element element) throws ExtensionException; 30 31 public void activate() throws ExtensionException; 32 33 public void stop() throws ExtensionException; 34 35 public boolean canStop() throws ExtensionException; 36 37 public void verifyRequiredElements() throws ExtensionException; 38 39 public boolean isHidden(); 40 41 public String getType(); 42 43 public void descriptorCreated(Element element, SessionInfo session) throws IOException ; 44 45 public String getTypeBundle(); 46 } 47 | Popular Tags |