Package grails.core

Interface GrailsServiceClass

    • Method Detail

      • isTransactional

        boolean isTransactional()
        Service should be configured with transaction demarcation.
        Returns:
        configure with transaction demarcation
      • getDatasource

        java.lang.String getDatasource()
        Get the datasource name that this service class works with.
        Returns:
        the name
      • usesDatasource

        boolean usesDatasource​(java.lang.String name)
        Check if the service class can use the named DataSource.
        Parameters:
        name - the name