[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] SCRManager


Scott Lewis wrote:
Question about the SCRManager class in the org.eclipse.equinox.ds declarative services implementation:

Is there any way to get at the SCRManager instance programmatically? That is, there is already a command provider that allows console access to the SCRManager (and the ServiceComponents, etc), but is there any service made available for other bundles to access the SCRManager? AFAICT by quick examination of the source, the answer is currently 'no', but would there be some possibility of having such programmatic access in the future? Should an enhancement request be opened?

Indeed, now the SCR core is not programmatically accessible. Please open an enhancement request about this.



The desire here would be to write some management interfaces/UI that would allow the service component state to be queried (like the SCRCommandProvider does now).

This is really an interesting use case. In the ideal case the access to SCR should be done via a service specified by the DS specification. This would allow you to manage the DS components regardless of the SCR implementation.



Thanks,

Scott


_______________________________________________ equinox-dev mailing list equinox-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/equinox-dev



Regards,

Stoyan