1 7 package org.jboss.security; 8 9 import java.lang.reflect.Method ; 10 import javax.ejb.EJBContext ; 11 12 21 public interface SecurityProxy 22 { 23 29 public void init(Class beanHome, Class beanRemote, Object securityMgr) 30 throws InstantiationException ; 31 39 public void init(Class beanHome, Class beanRemote, 40 Class beanLocalHome, Class beanLocal, Object securityMgr) 41 throws InstantiationException ; 42 44 public void setEJBContext(EJBContext ctx); 45 50 public void invokeHome(Method m, Object [] args) throws Exception ; 51 57 public void invoke(Method m, Object [] args, Object bean) throws Exception ; 58 } 59 | Popular Tags |