SingletonBehavior Enum

From RemObjects Software

Jump to: navigation, search

This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.



Overview

Namespace

Declaration (C#)

public enum SingletonBehavior
{
    Multiple = 0,
    Wait = 1,
    Fail = 2
}

Members

Member
Description
Multiple This setting will cause the class factory to allow concurrent access to the singleton service instance.

It will be the duty of the service implementer to ensure that all service methods are reentrant and that the class instance can handle multiple calls at the same time.

Wait This setting causes the class factory to put all concurrent calls on hold while a request is being processed.

Once the initial request has completed, the next request will be taken from the queue and processed.

Fail This setting will cause the class factory to fail any additional calls when a request is already in progress.


See Also


Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools