Showing:

Annotations
Attributes
Facets
Model
Properties
Complex Type Tservice
Namespace http://www.osgi.org/xmlns/blueprint/v1.0.0
Annotations
Tservice is the type for services exported by this blueprint bundle.
Services are sourced by either a <ref> to a <bean> component or an
<inline> bean component.
Type extension of Tcomponent
Type hierarchy
Model
description{0,1} , interfaces{0,1} , service-properties{0,1} , registration-listener* , (bean | reference | ref | ANY element from ANY namespace OTHER than 'http://www.osgi.org/xmlns/blueprint/v1.0.0')
Children bean, description, interfaces, ref, reference, registration-listener, service-properties
Attributes
QName Type Default Use Annotation
activation Tactivation optional
The activation attribute for this component.  This can either
be "eager" or "lazy".  If not specified, it
defaults to default-activation attribute of the enclosing
<blueprint> element.
auto-export TautoExportModes disabled optional
If set to a value different from "disabled", the Blueprint Container
will introspect the target to discover the set of interfaces or classes
that the service will be registered under.
depends-on TdependsOn optional
depends-on identifies (by id) other components that this component
depends on.  The component only be activated after the
depends-on components are successfully activated.  Also, if there
are <reference> or <reference-list> elements with unstatisfied
manadatory references, then the depends-on relationship will also
be used to determine whether this service is enabled or not.
id xsd:ID optional
interface Tclass optional
The interface that this OSGi service will provide.
ranking xsd:int 0 optional
A service ranking value that is added to the service properties
the service will be published with.
ref Tidref optional
The ref attribute can be used to specify the component that provides
the object exported as an OSGi service.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.osgi.org/xmlns/blueprint/v1.0.0'
Attribute Tservice / @interface
Namespace No namespace
Annotations
The interface that this OSGi service will provide.
Type Tclass
Properties
content simple
Attribute Tservice / @ref
Namespace No namespace
Annotations
The ref attribute can be used to specify the component that provides
the object exported as an OSGi service.
Type Tidref
Properties
content simple
Attribute Tservice / @auto-export
Namespace No namespace
Annotations
If set to a value different from "disabled", the Blueprint Container
will introspect the target to discover the set of interfaces or classes
that the service will be registered under.
Type TautoExportModes
Properties
default disabled
Facets
enumeration disabled
enumeration interfaces
enumeration class-hierarchy
enumeration all-classes
Attribute Tservice / @ranking
Namespace No namespace
Annotations
A service ranking value that is added to the service properties
the service will be published with.
Type xsd:int
Properties
default 0