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

- Packages that use ServiceDef
  Package | Description
  --- | ---
  org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change.
  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 | Classes supporting testing of Tapestry IOC services

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

    Methods in org.apache.tapestry5.internal that return ServiceDef
    Modifier and Type | Method and Description
    --- | ---
    `ServiceDef` | SyntheticModuleDef.`getServiceDef(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 and Description
    --- | ---
    `class` | `SpringBeanServiceDef`

    Methods in org.apache.tapestry5.internal.spring that return ServiceDef
    Modifier and Type | Method and Description
    --- | ---
    `ServiceDef` | SpringModuleDef.`getServiceDef(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 and 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 and 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 and Description
    --- | ---
    `ServiceDef` | ModuleDef.`getServiceDef(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 and 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 and Description
    --- | ---
    `class` | `ServiceDefImpl`

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

    Methods in org.apache.tapestry5.ioc.internal with parameters of type ServiceDef
    Modifier and Type | Method and 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)`
    `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.
    `Set<DecoratorDef>` | ModuleImpl.`findMatchingDecoratorDefs(ServiceDef serviceDef)`
    `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.
    `Set<AdvisorDef>` | ModuleImpl.`findMatchingServiceAdvisors(ServiceDef serviceDef)`
    `Set<ContributionDef2>` | Module.`getContributorDefsForService(ServiceDef serviceDef)` Finds any contributions that are targeted at the indicated service.
    `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 and Description
    `RecursiveServiceCreationCheckWrapper(ServiceDef serviceDef, ObjectCreator delegate, org.slf4j.Logger logger)`
    `ServiceActivityTrackerImpl.MutableServiceActivity(ServiceDef serviceDef, PerthreadManager perthreadManager, Status status)`

  - ### 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 and 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 and Description
    --- | ---
    `void` | ServiceConfigurationListener.`onMappedConfiguration(ServiceDef serviceDef, Map configuration)` Receives a notification of a mapped configuraton being passed to a service.
    `void` | ServiceConfigurationListener.`onOrderedConfiguration(ServiceDef serviceDef, List configuration)` Receives a notification of an ordered configuraton being passed to a service.
    `void` | ServiceConfigurationListener.`onUnorderedConfiguration(ServiceDef serviceDef, 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 and Description
    --- | ---
    `protected ServiceDef` | IOCTestCase.`mockServiceDef()` Deprecated.

    Methods in org.apache.tapestry5.ioc.test with parameters of type ServiceDef
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | IOCTestCase.`train_getServiceId(ServiceDef def, String serviceId)` Deprecated.
    `protected void` | IOCTestCase.`train_getServiceInterface(ServiceDef def, 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.

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.