org.objectweb.jonas.jtests.beans.secured
Class BaseCommon
java.lang.Object
|
+--org.objectweb.jonas.jtests.beans.secured.BaseCommon
- public abstract class BaseCommon
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseCommon
public BaseCommon()
getEJBContext
public abstract javax.ejb.EJBContext getEJBContext()
getPrincipalName
public java.lang.String getPrincipalName()
throws java.rmi.RemoteException
getPrincipalNameOfAnotherBean
public java.lang.String getPrincipalNameOfAnotherBean()
throws java.rmi.RemoteException
callAnotherMethod
public boolean callAnotherMethod()
throws java.rmi.RemoteException
- Access to a local interface of a bean
we must catch access denied exception
isCallerInRole
public boolean isCallerInRole(java.lang.String role)
throws java.rmi.RemoteException
simpleMethod
public void simpleMethod()
throws java.rmi.RemoteException
complexMethod
public void complexMethod(java.util.Hashtable h,
java.lang.Object[] o)
throws java.rmi.RemoteException