ComponentScoped to specify
singleton configurations and their policy.
| Modifier and Type | Class and Description |
|---|---|
| public static class | PID.
Support inline instantiation of the |
| Modifier and Type | Method and Description |
|---|---|
| public ConfigurationPolicy | |
| public String |
| policy | back to summary |
|---|---|
| public ConfigurationPolicy policy() The configuration policy associated with this PID.
Controls how the configuration must be satisfied depending on the presence
and type of a corresponding Configuration object in the OSGi Configuration
Admin service. Corresponding configuration is a Configuration object where
the PID is equal to If not specified, the configuration is not required. | |
| value | back to summary |
|---|---|
| public String value() The configuration PID for the configuration of this Component. The value specifies a configuration PID who's configuration properties are available at injection points in the component.
A special string ( For example:
| |
PID annotation.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final ConfigurationPolicy | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final PID. | Returns: an instance ofPIDthe configuration pid pid, ConfigurationPolicy the policy of the configuration policy)
|
| public ConfigurationPolicy | policy()
Implements org. The configuration policy associated with this PID. |
| public String | value()
Implements org. The configuration PID for the configuration of this Component. |
| _pid | back to summary |
|---|---|
| private final String _pid | |
| _policy | back to summary |
|---|---|
| private final ConfigurationPolicy _policy | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| Literal | back to summary |
|---|---|
| private Literal(String pid, ConfigurationPolicy policy) | |
| of | back to summary |
|---|---|
public static final PID.
| |
| policy | back to summary |
|---|---|
| public ConfigurationPolicy policy() Implements org. Doc from org. The configuration policy associated with this PID.
Controls how the configuration must be satisfied depending on the presence
and type of a corresponding Configuration object in the OSGi Configuration
Admin service. Corresponding configuration is a Configuration object where
the PID is equal to If not specified, the configuration is not required.
| |
| value | back to summary |
|---|---|
| public String value() Implements org. Doc from org. The configuration PID for the configuration of this Component. The value specifies a configuration PID who's configuration properties are available at injection points in the component.
A special string ( For example:
| |