code: @Override
     public String getActions()
     {
        StringBuffer actions = new StringBuffer();
        if (methodName != null)
           actions.append(methodName);
        if (methodInterface != null)
        {
           actions.append(',');
           actions.append(methodInterface);
        }
        else if (methodSig != null)
        {
           actions.append(',');
        }
  
        if (methodSig != null)
        {
           actions.append(',');
           actions.append(methodSig);
        }
        String methodSpec = null;
        if (actions.length() > 0)
           methodSpec = actions.toString();
        return methodSpec;
     }
docs: <p>
  Returns a String containing a canonical representation of the actions of this EJBMethodPermission. The Canonical
  form of the actions of an EJBMethodPermission is described by the following syntax description.
  </p>
  
  <pre>
  methodNameSpec ::= methodName | emptyString
  
  methodInterfaceName ::= String
  
  methodInterfaceSpec ::= methodInterfaceName | emptyString
  
  typeName ::= typeName | typeName []
  
  methodParams ::= typeName | methodParams comma typeName
  
  methodParamsSpec ::= emptyString | methodParams
  
  methodSpec ::= null |
  methodName |
  methodNameSpec comma methodInterfaceName |
  methodNameSpec comma methodInterfaceSpec comma methodParamsSpec
  </pre>
  
  <p>
  The canonical form of each typeName must begin with the fully qualified Java name of the corresponding parameter's
  type. The canonical form of a typeName for an array parameter is the fully qualified Java name of the array's
  component type followed by as many instances of the string "[]" as there are dimensions to the array. No
  additional characters (e.g. blanks) may occur in the canonical form.
  </p>
  
  <p>
  A MethodInterfaceName is a non-empty String and should contain a method-intf value as defined for use in EJB
  deployment descriptors. An implementation must be flexible such p it supports additional interface names
  especially if they are standardized by the EJB Specification. The EJB Specification currently defines the
  following method-intf values: { "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint" }
  </p>
  
  @return a String containing the canonicalized actions of this EJBMethodPermission.