org.apache.aries.blueprint.annotation
Annotation Type Service


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Service


Optional Element Summary
 java.lang.String autoExport
          the auto-export mode for the service.
 java.lang.Class<?>[] interfaces
          the interfaces that the service should be advertised as supporting.
 int ranking
          the ranking value to use when advertising the service.
 RegistrationListener[] registerationListeners
          the registration listeners to be notified when the service is registered and unregistered with the framework.
 ServiceProperty[] serviceProperties
          the user declared properties to be advertised with the service.
 

registerationListeners

public abstract RegistrationListener[] registerationListeners
the registration listeners to be notified when the service is registered and unregistered with the framework.

Default:
{}

ranking

public abstract int ranking
the ranking value to use when advertising the service. If the ranking value is zero, the service must be registered without a service.ranking service property.

Default:
0

autoExport

public abstract java.lang.String autoExport
the auto-export mode for the service. possible values are disabled, interfaces, class_hierarchy, all_classes

Default:
""

interfaces

public abstract java.lang.Class<?>[] interfaces
the interfaces that the service should be advertised as supporting.

Default:
{}

serviceProperties

public abstract ServiceProperty[] serviceProperties
the user declared properties to be advertised with the service.

Default:
{}


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.