FileDocCategorySizeDatePackage
EJBResource.javaAPI DocGlassfish v2 API2781Fri May 04 22:35:24 BST 2007com.sun.enterprise.security.acl

EJBResource

public class EJBResource extends Resource
An EJB resource.
author
Harish Prabandham

Fields Summary
Constructors Summary
public EJBResource(String app, Method method)

        super(app,method.getDeclaringClass().getName(), method.toString());
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if(obj == this)
            return true;
        
        if ((obj == null) || (obj.getClass() != getClass()))
            return false;
        
        Resource r = (Resource) obj;
        
        return getApplication().equals(r.getApplication()) &&
            getMethod().equals(r.getMethod()) &&
            getName().equals(r.getName());
    
public booleanimplies(Resource resource)

        return equals(resource);