# autowireMode property

AutowireMode autowireMode
getter/setter pair

The AutowireMode used for this component.
See Defines strategies for automatically wiring dependencies in a system.

Each mode indicates how a dependency should be resolved and injected into a class or component.

### Example

    void configurePod(AutowireMode mode) {
      switch (mode) {
        case AutowireMode.NO:
          print("No autowiring will be applied.");
          break;
        case AutowireMode.BY_NAME:
          print("Dependencies will be autowired by matching names.");
          break;
        case AutowireMode.BY_TYPE:
          print("Dependencies will be autowired by matching types.");
          break;
      }
    }
    ```.

## Implementation

    AutowireMode autowireMode;