@Component(componentId="org.everit.props.ri.ecm.PropertyManager",
configurationPolicy=FACTORY,
label="Everit Property Manager",
description="By configuring this component, the user will get a persistent PropertyManager as an OSGi service.")
@StringAttributes(value=@StringAttribute(attributeId="service.description",defaultValue="Default Property Manager",priority=1.0f,label="Service Description",description="The description of this component configuration. It is used to easily identify the service registered by this component."))
@ManualServices(value=)
public class PropertyComponent
extends Object
PropertyManager interface based on PropertyManagerImpl.| Modifier and Type | Field and Description |
|---|---|
static int |
P01_SERVICE_DESCRITION |
static int |
P02_QUERYDSL_SUPPORT |
static int |
P03_TRANSACTION_PROPAGATOR |
static int |
P04_CACHE |
| Constructor and Description |
|---|
PropertyComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.everit.osgi.ecm.component.ComponentContext<PropertyComponent> componentContext)
Component activator method.
|
void |
deactivate()
Component deactivate method.
|
void |
setCache(ConcurrentMap<String,String> cache) |
void |
setQuerydslSupport(org.everit.persistence.querydsl.support.QuerydslSupport querydslSupport) |
void |
setTransactionPropagator(org.everit.transaction.propagator.TransactionPropagator transactionPropagator) |
public static final int P01_SERVICE_DESCRITION
public static final int P02_QUERYDSL_SUPPORT
public static final int P03_TRANSACTION_PROPAGATOR
public static final int P04_CACHE
@Activate public void activate(org.everit.osgi.ecm.component.ComponentContext<PropertyComponent> componentContext)
@Deactivate public void deactivate()
@ServiceRef(attributeId="cache.target",
defaultValue="(MUST_BE_SET=TO_SOMETHING)",
attributePriority=4.0f,
label="Cache filter",
description="The OSGi filter expression to select the right Cache (java.util.concurrent.ConcurrentMap).")
public void setCache(ConcurrentMap<String,String> cache)
@ServiceRef(attributeId="querydslSupport.target",
defaultValue="",
attributePriority=2.0f,
label="Querydsl Support OSGi filter",
description="OSGi Service filter expression for QueryDSLSupport instance.")
public void setQuerydslSupport(org.everit.persistence.querydsl.support.QuerydslSupport querydslSupport)
@ServiceRef(attributeId="transactionHelper.target",
defaultValue="",
attributePriority=3.0f,
label="Transaction Propagator OSGi filter",
description="OSGi Service filter expression for TransactionPropagator instance.")
public void setTransactionPropagator(org.everit.transaction.propagator.TransactionPropagator transactionPropagator)
Copyright © 2011–2016 Everit Kft.. All rights reserved.