# SimpleAliasRegistry constructor

SimpleAliasRegistry()

A thread-safe implementation of AliasRegistry using LocalThread storage.

This implementation maintains separate alias mappings for each thread with support for:

- Alias overriding control
- Circular reference detection
- Alias resolution and canonical name resolution
- Thread-local storage using ThreadLocal

## Key Features:

- Thread-safe alias management using ThreadLocal
- Support for alias chains and transitive alias resolution
- Configurable alias overriding behavior
- Circular reference detection during registration
- Efficient thread-local alias lookup and management

## Storage Structure (per thread):

- `_aliasMap`: Map of alias → canonical name mappings
- `_aliasNames`: List of alias names in registration order

## Usage Example:

    final registry = SimpleAliasRegistry();

    // Register aliases in the current thread
    registry.registerAlias('userService', 'userManager');
    registry.registerAlias('userService', 'accountService');

    // Check if a name is an alias
    print(registry.isAlias('userManager')); // true

    // Get all aliases for a name (including transitive aliases)
    final aliases = registry.getAliases('userService');
    print(aliases); // ['userManager', 'accountService']

    // Resolve canonical name
    print(registry.canonicalName('userManager')); // 'userService'

## Implementation

    SimpleAliasRegistry() {
      // Initialize thread-local storage
      _aliasMap.set({});
      _aliasNames.set([]);
    }