Package com.enonic.xp.region

## Interface ComponentService

-     @PublicApi
      public interface ComponentService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Component` | `getByKey​(DescriptorKey descriptorKey)` |
    `Component` | `getByName​(ApplicationKey applicationKey, ComponentName name)` | Deprecated.

- - ### Method Detail

    - #### getByName

          @Deprecated
          Component getByName​(ApplicationKey applicationKey,
                              ComponentName name)

      Deprecated.

    - #### getByKey

          Component getByKey​(DescriptorKey descriptorKey)