Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc
Interface Markable

All Known Subinterfaces:
  AdvisorDef2, ContributionDef2, ContributionDef3, DecoratorDef2

All Known Implementing Classes:
  AdvisorDefImpl, ContributionDefImpl, DecoratorDefImpl

    public interface Markable

Interface implemented by objects which need to disambiguate services with marker annotations.

Since:
  5.2.2

Method Summary
`java.util.Set<java.lang.Class>` | `getMarkers()` Returns an optional set of marker annotation.
`java.lang.Class` | `getServiceInterface()` Returns the service interface associated with the service.

Method Detail

### getMarkers

    java.util.Set<java.lang.Class> getMarkers()

  Returns an optional set of marker annotation. Marker annotations are used to disambiguate services; the combination of a marker annotation and a service type is expected to be unique. Note that it is not possible to identify which annotations are markers and which are not when this set is constructed, so it may include non-marker annotations.

  See Also:
    `ServiceDef.getMarkers()`

### getServiceInterface

    java.lang.Class getServiceInterface()

  Returns the service interface associated with the service.

  See Also:
    `ServiceDef.getServiceInterface()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.