Top Description Inners Fields
aQute.bnd.annotation.metatype

public Interface Meta

Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

The Metadata interface provides access to the properties that underly a Configurable interface. Any Configurable interface can implement this interface. The interface provides the annotations that can be used to create metatype objects. @ConsumerInterface

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static @interface
Meta.AD

The AD element in the Metatype specification.

public static @interface
Meta.OCD

The OCD Annotation maps to the OCD element in the Metatype specification.

public static enum

Field Summary

Modifier and TypeField and Description
public static final String
NULL

Constant NULL for default usage

Field Detail

NULLback to summary
public static final String NULL

Constant NULL for default usage

aQute.bnd.annotation.metatype back to summary

public @Interface Meta.OCD

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME

The OCD Annotation maps to the OCD element in the Metatype specification. The only difference is that it is possible to create a Designate element as well.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the description
description
()

A description for this ocd.

public boolean
factory()

Defines if this is for a factory or not.

public String

Returns:

the id
id
()

The id of the component.

public String

Returns:

the localization prefix.
localization
()

The localization prefix.

public String

Returns:

The name of this component
name
()

The name for this component.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

descriptionback to summary
public String description()

A description for this ocd. The default is empty.

Returns:String

the description

factoryback to summary
public boolean factory()

Defines if this is for a factory or not.

idback to summary
public String id()

The id of the component. Default the name of the class in FQN notation but with nested classes using the $ as separator (not .). The Felix webconsole always uses this id as the PID and not the pid in the Designate element. Reported as an error.

Returns:String

the id

localizationback to summary
public String localization()

The localization prefix. The default localization prefix is the name of the class with a $ separator for nested classes.

Returns:String

the localization prefix.

nameback to summary
public String name()

The name for this component. The default name is a the short class name that us un-camel cased to make it more readable.

Returns:String

The name of this component

aQute.bnd.annotation.metatype back to summary

public final Enum Meta.Type

extends Enum<Meta.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type
public static final Meta.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static Meta.Type
public static Meta.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

Booleanback to summary
public static final Meta.Type Boolean
Byteback to summary
public static final Meta.Type Byte
Characterback to summary
public static final Meta.Type Character
Doubleback to summary
public static final Meta.Type Double
Floatback to summary
public static final Meta.Type Float
Integerback to summary
public static final Meta.Type Integer
Longback to summary
public static final Meta.Type Long
Passwordback to summary
public static final Meta.Type Password
Shortback to summary
public static final Meta.Type Short
Stringback to summary
public static final Meta.Type String

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static Meta.Type valueOf(String name)
valuesback to summary
public static Meta.Type[] values()