Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ServiceAttribute Class

Indicates that an annotated class is a "Service" (e.g. a business service facade).

For a list of all members of this type, see ServiceAttribute Members .

System.Object
   Attribute
      ComponentAttribute
         ServiceAttribute

[Visual Basic]
<AttributeUsage(Inherited:=True, ValidOn:=(AttributeTargets.Class Or AttributeTargets.Interface), AllowMultiple:=False)> _
Public Class ServiceAttribute
    Inherits ComponentAttribute
[C#]
[AttributeUsage(Inherited=True, ValidOn=(AttributeTargets.Class|AttributeTargets.Interface), AllowMultiple=False)]
public class ServiceAttribute : ComponentAttribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This attribute also serves as a specialization of the ComponentAttribute, allowing implementation classes to be autodetected in future releases through assembly scanning.

Requirements

Namespace: Spring.Stereotype

Assembly: Spring.Core (in Spring.Core.dll)

See Also

ServiceAttribute Members | Spring.Stereotype Namespace