Class ResourceEnvReferenceDescriptor

    • Constructor Detail

      • ResourceEnvReferenceDescriptor

        public ResourceEnvReferenceDescriptor()
      • ResourceEnvReferenceDescriptor

        public ResourceEnvReferenceDescriptor​(String name,
                                              String description,
                                              String refType)
    • Method Detail

      • setRefType

        public void setRefType​(String refType)
      • getRefType

        public String getRefType()
        Gets the type of environment reference i.e. jakarta.ejb.SessionContext
        Returns:
      • setIsManagedBean

        public void setIsManagedBean​(boolean flag)
      • isManagedBean

        public boolean isManagedBean()
      • getJndiName

        public String getJndiName()
        Return the jndi name of the destination to which I refer.
        Specified by:
        getJndiName in interface NamedDescriptor
        Returns:
        java.lang.String JNDI name
      • setJndiName

        public void setJndiName​(String jndiName)
        Sets the jndi name of the destination to which I refer
        Specified by:
        setJndiName in interface NamedDescriptor
        Parameters:
        jndiName - the new JNDI name of the receiver.
      • isEJBContext

        public boolean isEJBContext()
      • isValidator

        public boolean isValidator()
      • isValidatorFactory

        public boolean isValidatorFactory()
      • isCDIBeanManager

        public boolean isCDIBeanManager()
      • checkType

        public void checkType()
        Performs the same check as in ResourceReferenceDescriptor