## Uses of Interface
org.apache.tapestry5.ioc.def.ServiceDef

- Packages that use ServiceDef
  Package | Description
  --- | ---
  org.apache.tapestry5.http.internal |
  org.apache.tapestry5.internal.spring | [INTERNAL USE ONLY] support classes for the Spring IOC; API subject to change
  org.apache.tapestry5.ioc | A code-centric, high-performance, simple Inversion of Control container
  org.apache.tapestry5.ioc.def | Tapestry IOC service definitions
  org.apache.tapestry5.ioc.internal | [INTERNAL USE ONLY] Tapestry IOC implementation details; API subject to change.
  org.apache.tapestry5.ioc.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
  org.apache.tapestry5.ioc.services | Tapestry IOC service interfaces
  org.apache.tapestry5.ioc.test |

- - ### Uses of ServiceDef in org.apache.tapestry5.http.internal

    Methods in org.apache.tapestry5.http.internal that return ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `ServiceDef` | SyntheticModuleDef.`getServiceDef​(java.lang.String serviceId)` | Returns null.

  - ### Uses of ServiceDef in org.apache.tapestry5.internal.spring

    Classes in org.apache.tapestry5.internal.spring that implement ServiceDef
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SpringBeanServiceDef` |

    Methods in org.apache.tapestry5.internal.spring that return ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `ServiceDef` | SpringModuleDef.`getServiceDef​(java.lang.String serviceId)` |

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc

    Methods in org.apache.tapestry5.ioc with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | AdvisorDef.`matches​(ServiceDef serviceDef)` | Used to determine which services may be advised.

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc.def

    Subinterfaces of ServiceDef in org.apache.tapestry5.ioc.def
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `ServiceDef2` | Extension to `ServiceDef` containing new methods added for Tapestry 5.1.
    `interface` | `ServiceDef3` | Introduced for Tapestry 5.3, contains new methods to provide access to annotations on the class, and on methods of the class.

    Methods in org.apache.tapestry5.ioc.def that return ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `ServiceDef` | ModuleDef.`getServiceDef​(java.lang.String serviceId)` | Returns a service definition via the service's id.

    Methods in org.apache.tapestry5.ioc.def with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | DecoratorDef.`matches​(ServiceDef serviceDef)` | Used to determine which services may be decorated by this decorator.

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc.internal

    Classes in org.apache.tapestry5.ioc.internal that implement ServiceDef
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `ServiceDefImpl` |

    Methods in org.apache.tapestry5.ioc.internal that return ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `ServiceDef` | DefaultModuleDefImpl.`getServiceDef​(java.lang.String serviceId)` |

    Methods in org.apache.tapestry5.ioc.internal with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DefaultModuleDefImpl.`addServiceDef​(ServiceDef serviceDef)` |
    `void` | ServiceDefAccumulator.`addServiceDef​(ServiceDef serviceDef)` |
    `void` | ServiceActivityTracker.`define​(ServiceDef serviceDef, Status initialStatus)` | Defines a service in the tracker with an initial status.
    `void` | ServiceActivityTrackerImpl.`define​(ServiceDef serviceDef, Status initialStatus)` |
    `java.util.Set<DecoratorDef>` | Module.`findMatchingDecoratorDefs​(ServiceDef serviceDef)` | Iterates over any decorator definitions defined by the module and returns those that apply to the provided service definition.
    `java.util.Set<DecoratorDef>` | ModuleImpl.`findMatchingDecoratorDefs​(ServiceDef serviceDef)` |
    `java.util.Set<AdvisorDef>` | Module.`findMatchingServiceAdvisors​(ServiceDef serviceDef)` | Iterates over any advisor definitions defined by the module and returns those that apply to the provided service definition.
    `java.util.Set<AdvisorDef>` | ModuleImpl.`findMatchingServiceAdvisors​(ServiceDef serviceDef)` |
    `java.util.Set<ContributionDef2>` | Module.`getContributorDefsForService​(ServiceDef serviceDef)` | Finds any contributions that are targeted at the indicated service.
    `java.util.Set<ContributionDef2>` | ModuleImpl.`getContributorDefsForService​(ServiceDef serviceDef)` |
    `boolean` | AbstractServiceInstrumenter.`matches​(ServiceDef serviceDef)` | Returns true if any provided pattern matches the id of the service.

    Constructors in org.apache.tapestry5.ioc.internal with parameters of type ServiceDef
    Constructor | Description
    --- | ---
    `MutableServiceActivity​(ServiceDef serviceDef, PerthreadManager perthreadManager, Status status)` |
    `RecursiveServiceCreationCheckWrapper​(ServiceDef serviceDef, ObjectCreator delegate, org.slf4j.Logger logger)` |

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc.internal.util

    Methods in org.apache.tapestry5.ioc.internal.util with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ServiceDef2` | InternalUtils.`toServiceDef2​(ServiceDef sd)` |
    `static ServiceDef3` | InternalUtils.`toServiceDef3​(ServiceDef sd)` |

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc.services

    Methods in org.apache.tapestry5.ioc.services with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ServiceConfigurationListener.`onMappedConfiguration​(ServiceDef serviceDef, java.util.Map configuration)` | Receives a notification of a mapped configuraton being passed to a service.
    `void` | ServiceConfigurationListener.`onOrderedConfiguration​(ServiceDef serviceDef, java.util.List configuration)` | Receives a notification of an ordered configuraton being passed to a service.
    `void` | ServiceConfigurationListener.`onUnorderedConfiguration​(ServiceDef serviceDef, java.util.Collection configuration)` | Receives a notification of an unordered configuraton being passed to a service.

  - ### Uses of ServiceDef in org.apache.tapestry5.ioc.test

    Methods in org.apache.tapestry5.ioc.test that return ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected ServiceDef` | IOCTestCase.`mockServiceDef()` | Deprecated.

    Methods in org.apache.tapestry5.ioc.test with parameters of type ServiceDef
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | IOCTestCase.`train_getServiceId​(ServiceDef def, java.lang.String serviceId)` | Deprecated.
    `protected void` | IOCTestCase.`train_getServiceInterface​(ServiceDef def, java.lang.Class serviceInterface)` | Deprecated.
    `protected void` | IOCTestCase.`train_matches​(AdvisorDef advisorDef, ServiceDef serviceDef, boolean matches)` | Deprecated.
    `protected void` | IOCTestCase.`train_matches​(DecoratorDef decoratorDef, ServiceDef serviceDef, boolean matches)` | Deprecated.