Package org.logicmachine.rebl.domain.resources
package org.logicmachine.rebl.domain.resources
This package provides base classes which can be used
to define resources to be made available within a
scope; such resources are then available for use within
the business logic running within that scope.
For example, a resource may be a database or a message queue etc.
Note in particular the inclusion of the CloseableResource class whose 'close()' method will be automatically invoked when the corresponding scope closes.
For example, a resource may be a database or a message queue etc.
Note in particular the inclusion of the CloseableResource class whose 'close()' method will be automatically invoked when the corresponding scope closes.
- Since:
- 1.0
-
ClassesClassDescriptionA CloseableResource is a special type of Resource which requires some clean-up activities to be performed prior to shutdown.This class allows a single business resource to be defined.Collection class holding a set of Resource instances.