@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface OSGiBeanProperties
Modifier and Type | Optional Element and Description |
---|---|
boolean |
portalPropertiesRemovePrefix
Returns
true if the property prefix should be removed from
portal.properties . |
String |
portalPropertyPrefix
Returns the value of the property prefix used for retrieving properties
from
portal.properties . |
String[] |
property
Returns the service properties.
|
Class<?>[] |
service
Returns the types under which the bean is published as a service.
|
public abstract boolean portalPropertiesRemovePrefix
true
if the property prefix should be removed from
portal.properties
.true
if the property prefix should be removed from
portal.properties
; false
otherwisepublic abstract String portalPropertyPrefix
portal.properties
.public abstract String[] property
Each property string is specified as "key=value"
. The type
of the property value can be specified in the key as
"key:type=value"
. The type must be from OSGiBeanProperties.Type
. To
specify a property with multiple values, use multiple key-value pairs.
For example, "foo=bar", "foo=baz"
.