[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stp-dev] Discussion on policy support in STP
|
Johnson Ma wrote:
Gerald Preissler wrote:
Do you propose to actually add a Policy Registry to STP or do you
want to provide the interface definition that an actual registry has
to conform to?
Yes, i was thinking about adding a policy template registry to stp.
Then, policy developers can create policy template and add to the
registry.
FYI, the XEF-based policy editor already contains an interface (and a
simple implementation) of a Policy Template Registry. It's
org.eclipse.stp.xef.ISchemaProvider in the org.eclipse.stp.xef plugin.
The idea behind this interface is that it could be backed by anything. A
simple URLSchemaProvider is part of the STP code, but one could also
implement this over another system, e.g. a database backend...
See
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.stp.servicecreation/org.eclipse.stp.xef/src/org/eclipse/stp/xef/ISchemaProvider.java?root=STP_Project&view=markup
Cheers,
David
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland