Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] How to declare that a runtime does not support a facet version?

Hi,
 
I can declare in the facet framework that a runtime supports certain set of facet versions. But I cannot find a way to explicitly declare that the runtime does not support a certain facet version.
 
My specific problem is with the JPA 2.0 facet version. Our (SAP) runtime does not support JPA 2.0 yet, only JPA 1.0. I need to declare that the JPA 2.0 facet version is not a valid one for the SAP runtime. Somehow, the JPA facet is declared as generally supported and all its versions are assumed supported by all runtimes.
 
My goal is to have the following call returns “false”:
 
sapRuntime.supports(<jpa-2.0>);
 
Thanks,
Kaloyan Raev
Senior Developer
TD Core JS App Model & Dev
SAP Labs Bulgaria
136A Tzar Boris 3 blvd.
1618 Sofia, Bulgaria
T +359 2 9157-416
mailto:kaloyan.raev@xxxxxxx
www.sap.com
Save a tree - please do not print this email unless you really need to.
 
 
 

Back to the top