Class EJBResource

  • All Implemented Interfaces:
    Resource

    public class EJBResource
    extends JavaEEResource
    Represents an EJB Resource
    Since:
    Jul 6, 2006
    Version:
    $Revision: 61962 $
    Author:
    Anil Saldhana
    • Constructor Detail

      • EJBResource

        public EJBResource​(Map<String,​Object> map)
        Create a new EJBResource.
        Parameters:
        map -
    • Method Detail

      • getEjbName

        public String getEjbName()
        Get the EJB Name
        Returns:
      • setEjbName

        public void setEjbName​(String ejbName)
        Set the EJB Name
        Parameters:
        ejbName -
      • getEjbMethod

        public Method getEjbMethod()
        Get the EJB Method
        Returns:
      • setEjbMethod

        public void setEjbMethod​(Method ejbMethod)
        Set the EJB Method
        Parameters:
        ejbMethod -
      • getEjbMethodInterface

        public String getEjbMethodInterface()
        Get the EJB Method Interface as a String
        Returns:
      • setEjbMethodInterface

        public void setEjbMethodInterface​(String ejbMethodInterface)
        Set the EJB Method Interface as a String
        Parameters:
        ejbMethodInterface -
      • getEjbMethodRoles

        public RoleGroup getEjbMethodRoles()
        Get the Roles assigned to the EJB method
        Returns:
      • setEjbMethodRoles

        public void setEjbMethodRoles​(RoleGroup ejbMethodRoles)
        Set the roles assigned to the EJB Method
        Parameters:
        ejbMethodRoles -
      • isEnforceEJBRestrictions

        public boolean isEnforceEJBRestrictions()
        Specify the EJB1.1 role ref restriction that the rolename has to be present in the DD
        Returns:
        true if enforcement is needed
      • setEnforceEJBRestrictions

        public void setEnforceEJBRestrictions​(boolean enforceEJBRestrictions)
        Parameters:
        enforceEJBRestrictions -
        See Also:
        isEnforceEJBRestrictions()
      • getEjbVersion

        public String getEjbVersion()
        Get the version of EJB
        Returns:
      • setEjbVersion

        public void setEjbVersion​(String version)
        Set the version of EJB
        Parameters:
        version -