PerClientClassFactoryAttribute Class

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 (.NET)

Attach this attribute to your service implementation to have its instantiation controlled by a PerClientClassFactory.

Namespace

Declaration (C#)

public class PerClientClassFactoryAttribute : ClassFactoryAttribute;

Hierarchy

Properties

Property
Type
Description
AllowConcurrentAccess Boolean Determines whether the class factory will allow concurrent access to the same per-client instance for several requests (true) or not (false).

By default, concurrent access is not allowed. If you enable it, ensure that your service instances are implemented to be thread-safe and reentrant.

Timeout Integer Determines the timeout (in seconds) after which sessions will be discarded if they have not been accessed.

The default value is 600 seconds (10 minutes).


Methods

Method
Description
CreateClassFactory Instantiates a new class factory for the given service type, with the options configured in the attribute.


See Also


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

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools