Class GlassfishDomain.JdbcResource

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    GlassfishDomain

    public static class GlassfishDomain.JdbcResource
    extends java.lang.Object
    implements java.io.Serializable
    The type Jdbc resource.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      JdbcResource()
      Instantiates a new Jdbc resource.
      JdbcResource​(java.lang.String poolName, java.lang.String jndiName)
      Instantiates a new Jdbc resource.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getJndiName()
      Gets jndi name.
      java.lang.String getPoolName()
      Gets pool name.
      void setJndiName​(java.lang.String jndiName)
      Sets jndi name.
      void setPoolName​(java.lang.String poolName)
      Sets pool name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JdbcResource

        public JdbcResource()
        Instantiates a new Jdbc resource.
      • JdbcResource

        public JdbcResource​(java.lang.String poolName,
                            java.lang.String jndiName)
        Instantiates a new Jdbc resource.
        Parameters:
        poolName - the pool name
        jndiName - the jndi name
    • Method Detail

      • getJndiName

        public java.lang.String getJndiName()
        Gets jndi name.
        Returns:
        the jndi name
      • getPoolName

        public java.lang.String getPoolName()
        Gets pool name.
        Returns:
        the pool name
      • setJndiName

        public void setJndiName​(java.lang.String jndiName)
        Sets jndi name.
        Parameters:
        jndiName - the jndi name
      • setPoolName

        public void setPoolName​(java.lang.String poolName)
        Sets pool name.
        Parameters:
        poolName - the pool name