Components with Session Lifetime

Previous Next

When the Rules Engine invokes a method of a component with session lifetime, it checks if the component is already instantiated (an instance of the component has been created). If not, it calls the constructor. If the constructor has arguments, those arguments are supplied by the constructor SQL. Finally, the physical method is called. The component is released at the end of the session.