Class ConnectorResourceAdminServiceImpl

    • Constructor Detail

      • ConnectorResourceAdminServiceImpl

        public ConnectorResourceAdminServiceImpl()
        Default constructor
    • Method Detail

      • createConnectorResource

        public void createConnectorResource​(ResourceInfo resourceInfo,
                                            PoolInfo poolInfo,
                                            String resourceType)
                                     throws ConnectorRuntimeException
        Creates the connector resource on a given connection pool
        Parameters:
        resourceInfo - JNDI name of the resource to be created
        poolInfo - PoolName to which the connector resource belongs.
        resourceType - Resource type Unused.
        Throws:
        ConnectorRuntimeException - If the resouce creation fails.
      • getResourceRebindEventNotifier

        public ConnectorNamingEventNotifier getResourceRebindEventNotifier()
        Gets Connector Resource Rebind Event notifier.
        Returns:
        ConnectorNamingEventNotifier
      • lookup

        public Object lookup​(ResourceInfo resourceInfo)
                      throws NamingException
        Look up the JNDI name with appropriate suffix. Suffix can be either __pm or __nontx.
        Parameters:
        resourceInfo - resource-name
        Returns:
        Object - from jndi
        Throws:
        NamingException - - when unable to get the object form jndi