5
私は次のサービスがあります。OSGiで複数値(配列)プロパティを使用するには?
@Component(
immediate = true,
metatype = true)
@Service
@Property(name = EventConstants.EVENT_TOPIC, value = {ReplicationAction.EVENT_TOPIC})
public class MyService implements EventHandler {
@Property
private static final String MULTI_PROPERTY = "config.multiproperty";
........
//another implementation
........
}
は、私が画像上のような値のセットを使用する可能性を持っているために、配列の値のようにMULTI_PROPERTY
をしたいの:
それを実装する方法?