1 22 package org.jboss.mx.interceptor; 23 24 import org.jboss.logging.Logger; 25 import org.jboss.mx.server.Invocation; 26 27 36 public interface Interceptor 37 { 38 39 44 String getName(); 45 46 55 boolean isShared(); 56 57 61 Object invoke(Invocation invocation) throws Throwable ; 62 63 74 void setLogger(Logger log); 75 76 93 void init() throws Exception ; 94 95 108 void start(); 109 110 128 void stop() throws Exception ; 129 130 143 void destroy(); 144 145 } 146 147 148 | Popular Tags |