Modified: zest/site/content/java/develop/js/shBrushJava.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushJava.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushJava.js (original) +++ zest/site/content/java/develop/js/shBrushJava.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() {
Modified: zest/site/content/java/develop/js/shBrushJavaFX.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushJavaFX.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushJavaFX.js (original) +++ zest/site/content/java/develop/js/shBrushJavaFX.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushPerl.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushPerl.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushPerl.js (original) +++ zest/site/content/java/develop/js/shBrushPerl.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushPhp.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushPhp.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushPhp.js (original) +++ zest/site/content/java/develop/js/shBrushPhp.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushPlain.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushPlain.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushPlain.js (original) +++ zest/site/content/java/develop/js/shBrushPlain.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushPowerShell.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushPowerShell.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushPowerShell.js (original) +++ zest/site/content/java/develop/js/shBrushPowerShell.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushPython.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushPython.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushPython.js (original) +++ zest/site/content/java/develop/js/shBrushPython.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushRuby.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushRuby.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushRuby.js (original) +++ zest/site/content/java/develop/js/shBrushRuby.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushSass.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushSass.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushSass.js (original) +++ zest/site/content/java/develop/js/shBrushSass.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushScala.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushScala.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushScala.js (original) +++ zest/site/content/java/develop/js/shBrushScala.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushSql.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushSql.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushSql.js (original) +++ zest/site/content/java/develop/js/shBrushSql.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushVb.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushVb.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushVb.js (original) +++ zest/site/content/java/develop/js/shBrushVb.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/shBrushXml.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/shBrushXml.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/shBrushXml.js (original) +++ zest/site/content/java/develop/js/shBrushXml.js Fri Apr 15 08:28:56 2016 @@ -1,18 +1,21 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. */ ;(function() { Modified: zest/site/content/java/develop/js/tablestyler.js URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/js/tablestyler.js?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/js/tablestyler.js (original) +++ zest/site/content/java/develop/js/tablestyler.js Fri Apr 15 08:28:56 2016 @@ -1,20 +1,21 @@ -/** - * Licensed to Neo Technology under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Neo Technology licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * - * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. */ /* Smart Image Scaling Modified: zest/site/content/java/develop/lang-groovy.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/lang-groovy.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/lang-groovy.html (original) +++ zest/site/content/java/develop/lang-groovy.html Fri Apr 15 08:28:56 2016 @@ -66,7 +66,7 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><span xmlns="" href="lang-groovy.html">Groovy Scripting</span></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Groovy Scripting"><div class="titlepage"><div><div><h3 >class="title"><a id="lang-groovy"></a>Groovy >Scripting</h3></div></div></div><p class="remark"><em><span >class="comment"></span></em></p><p class="devstatus -code-beta">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>Groovy Scripting Library</p><div class="table"><a id="idm491906537744"></a><p class="title"><strong>Table 22. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-groovy</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Groovy Scripting Library is a Generic mixin that implements interfaces by delegating to Groovy code from classpath resources.</p><p>But before looking at how to use the Scripting l ibrary weâll see that <span class="strong"><strong>you donât need this library at all if you simply need to use Groovy classes as Fragments</strong></span>. + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><span xmlns="" href="lang-groovy.html">Groovy Scripting</span></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Groovy Scripting"><div class="titlepage"><div><div><h3 >class="title"><a id="lang-groovy"></a>Groovy >Scripting</h3></div></div></div><p class="remark"><em><span >class="comment"></span></em></p><p class="devstatus -code-beta">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>Groovy Scripting Library</p><div class="table"><a id="idp140567696327696"></a><p class="title"><strong>Table 22. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-groovy</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Groovy Scripting Library is a Generic mixin that implements interfaces by delegating to Groovy code from classpath resources.</p><p>But before looking at how to use the Scripting library w eâll see that <span class="strong"><strong>you donât need this library at all if you simply need to use Groovy classes as Fragments</strong></span>. Then weâll see how to use Groovy class scripts and method scripts.</p><p>All examples below are based on this type:</p><pre class="programlisting brush: java">public interface HelloSpeaker { String sayHello( String name ); Modified: zest/site/content/java/develop/lang-javascript.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/lang-javascript.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/lang-javascript.html (original) +++ zest/site/content/java/develop/lang-javascript.html Fri Apr 15 08:28:56 2016 @@ -66,7 +66,7 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><span xmlns="" href="lang-javascript.html">Javascript Scripting</span></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Javascript Scripting"><div >class="titlepage"><div><div><h3 class="title"><a >id="lang-javascript"></a>Javascript Scripting</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p clas s="devstatus-code-beta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Javascript Scripting Library allows Mixin methods to be implemented in Javascript and loaded dynamically on first use.</p><div class="table"><a id="idm491906494304"></a><p class="title"><strong>Table 23. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-javascript</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Javascript Scripting Library is a Generic mixin class that implem ents + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><span xmlns="" href="lang-javascript.html">Javascript Scripting</span></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Javascript Scripting"><div >class="titlepage"><div><div><h3 class="title"><a >id="lang-javascript"></a>Javascript Scripting</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p clas s="devstatus-code-beta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Javascript Scripting Library allows Mixin methods to be implemented in Javascript and loaded dynamically on first use.</p><div class="table"><a id="idp140567696371120"></a><p class="title"><strong>Table 23. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-javascript</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Javascript Scripting Library is a Generic mixin class that implements Composite interfaces by delegating to JavaScript functions using Rhino. Each method in an interface is declared as a JS function in a file located in classpath with the name "<interface>.<method>.js", where the interface name Modified: zest/site/content/java/develop/lang-scala.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/lang-scala.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/lang-scala.html (original) +++ zest/site/content/java/develop/lang-scala.html Fri Apr 15 08:28:56 2016 @@ -66,7 +66,7 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><span xmlns="" href="lang-scala.html">Scala Support</span></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Scala Support"><div class="titlepage"><div><div><h3 >class="title"><a id="lang-scala"></a>Scala Support</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-b eta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Scala Support Library allows Fragments and Composites to be written as Scala traits.</p><div class="table"><a id="idm491906472992"></a><p class="title"><strong>Table 24. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-scala</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Scala Support Library is a Generic mixin class that implements Composites by delegating to Scala traits.</p><div class="se ction" title="Composition"><div class="titlepage"><div><div><h4 class="title"><a id="_composition_2"></a>Composition</h4></div></div></div><p>Example mixin declaration:</p><pre class="programlisting brush: scala">trait HelloWorldMixin2 + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><span xmlns="" href="lang-scala.html">Scala Support</span></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Scala Support"><div class="titlepage"><div><div><h3 >class="title"><a id="lang-scala"></a>Scala Support</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p >class="devstatus-code-b eta">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Scala Support Library allows Fragments and Composites to be written as Scala traits.</p><div class="table"><a id="idp140567696392368"></a><p class="title"><strong>Table 24. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.lang-scala</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><p>The Scala Support Library is a Generic mixin class that implements Composites by delegating to Scala traits.</p><div class="section" t itle="Composition"><div class="titlepage"><div><div><h4 class="title"><a id="_composition_2"></a>Composition</h4></div></div></div><p>Example mixin declaration:</p><pre class="programlisting brush: scala">trait HelloWorldMixin2 { def sayHello(@MaxLength(10) name: String ): String = "Hello " + name } Modified: zest/site/content/java/develop/library-alarm.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-alarm.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/library-alarm.html (original) +++ zest/site/content/java/develop/library-alarm.html Fri Apr 15 08:28:56 2016 @@ -74,7 +74,7 @@ clear view of what is going on in a plan donât. Very little thought has been spent on what happens when many independent systems interact and what the consequences are to other systems when one fails. The <span class="emphasis"><em>Alarm Point</em></span> concepts becomes a natural fit for the enterprise world of today, where <span class="emphasis"><em>Alarm Points</em></span> allows for fine-grained notification and view into the health of one or more -systems.</p><p>In Zest, we are building upon this powerful abstraction, from decades of field experience.</p><div class="table"><a id="idm491906428048"></a><p class="title"><strong>Table 25. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.alarm</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Overview"><div class="titlepage"><div><div><h4 class="title"><a id="_overview_6"></a>Overview</h4></div></div></div><p>An <span class="emphasis"><em>Alarm Point</em></span> is of an <span class="emphasis"><em>Alarm Class</em></span> and of an <span class="emphasis"><em>Alarm Category</em></span>. The <span class="emphasis"><em>Alarm Class</em></span> defines the <span class="strong"><strong>severity</strong></span> of the +systems.</p><p>In Zest, we are building upon this powerful abstraction, from decades of field experience.</p><div class="table"><a id="idp140567696437120"></a><p class="title"><strong>Table 25. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.alarm</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Overview"><div class="titlepage"><div><div><h4 class="title"><a id="_overview_6"></a>Overview</h4></div></div></div><p>An <span class="emphasis"><em>Alarm Point</em></span> is of an <span class=" emphasis"><em>Alarm Class</em></span> and of an <span class="emphasis"><em>Alarm Category</em></span>. The <span class="emphasis"><em>Alarm Class</em></span> defines the <span class="strong"><strong>severity</strong></span> of the <span class="emphasis"><em>Alarm Point</em></span> and the <span class="emphasis"><em>Alarm Category</em></span> defines which <span class="strong"><strong>part</strong></span> of the system it belongs to. <span class="emphasis"><em>Alarm Category</em></span> can be extended by the developer, and the package contains the <span class="emphasis"><em>SimpleAlarmCategory</em></span> as an example, where a Description property has been added.</p><p>An <span class="emphasis"><em>Alarm Point</em></span> also has a <span class="emphasis"><em>System Name</em></span>, which should be the subsystem or application name.</p><p><span class="emphasis"><em>Alarm Points</em></span> are <span class="strong"><strong>triggered</strong></span> and an <span class="emphasis"><em>Alarm Trigger</em></span> may cause the <span class="emphasis"><em>Alarm Status</em></span> to change. IF, and only if, the Modified: zest/site/content/java/develop/library-circuitbreaker.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-circuitbreaker.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/library-circuitbreaker.html (original) +++ zest/site/content/java/develop/library-circuitbreaker.html Fri Apr 15 08:28:56 2016 @@ -91,7 +91,7 @@ tripping it should be possible to expose There is a standard implementation of the Availability interface that delegates to a circuit breaker and the Enabled configuration flag, which is what weâd suspect will be used in most cases where external systems -are invoked.</p><div class="table"><a id="idm491906338960"></a><p class="title"><strong>Table 26. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.circuitbreaker</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Direct usage"><div class="titlepage"><div><div><h4 class="title"><a id="_direct_usage"></a>Direct usage</h4></div></div></div><p>The CircuitBreaker can be used directly, even without using anything else from the Zest⢠SDK.</p><p>Here is a code snippet that demonstra te how to create a CircuitBreaker and how it behave:</p><pre class="programlisting brush: java">// Create a CircuitBreaker with a threshold of 3, a 250ms timeout, allowing IllegalArgumentExceptions +are invoked.</p><div class="table"><a id="idp140567696509904"></a><p class="title"><strong>Table 26. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.circuitbreaker</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Direct usage"><div class="titlepage"><div><div><h4 class="title"><a id="_direct_usage"></a>Direct usage</h4></div></div></div><p>The CircuitBreaker can be used directly, even without using anything else from the Zest⢠SDK.</p><p>Here is a code snippet that demonstrate how t o create a CircuitBreaker and how it behave:</p><pre class="programlisting brush: java">// Create a CircuitBreaker with a threshold of 3, a 250ms timeout, allowing IllegalArgumentExceptions CircuitBreaker cb = new CircuitBreaker( 3, 250, CircuitBreakers.in( IllegalArgumentException.class ) ); [...snip...] Modified: zest/site/content/java/develop/library-constraints.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-constraints.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/library-constraints.html (original) +++ zest/site/content/java/develop/library-constraints.html Fri Apr 15 08:28:56 2016 @@ -69,7 +69,7 @@ </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><span xmlns="" href="library-constraints.html">Constraints</span></span></dt><dt><span class="section"><a href="library-conversion.html">Conversion - DEPRECATED</a></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Constraints"><div class="titlepage"><div><div><h3 >class="title"><a >id="library-constraints"></a>Constraints</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></p><p class="devstatus-c ode-stable">code</p><p class="devstatus-docs-good">docs</p><p class="devstatus-tests-good">tests</p><p>The Constraints library provide a bunch of often used Constraints based on the Zest⢠Constraints api described in <a class="xref" href="glossary.html#def-constraint">Constraint</a>.</p><p>Remember that you are not limited to constraints presents in this library, you are encouraged to write your own constraints. See <a class="xref" href="howto-create-constraint.html" title="Create a Constraint">Create a Constraint</a> -or take a look at this library source code to learn how to write your own.</p><div class="table"><a id="idm491906296400"></a><p class="title"><strong>Table 27. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.constraints</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage"></a>Usage</h4></div></div></div><p>You can use theses constraints on Properties or on method arguments. +or take a look at this library source code to learn how to write your own.</p><div class="table"><a id="idp140567696552480"></a><p class="title"><strong>Table 27. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.constraints</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="section" title="Usage"><div class="titlepage"><div><div><h4 class="title"><a id="_usage_2"></a>Usage</h4></div></div></div><p>You can use theses constraints on Properties or on method arguments. Here are some examples:</p><pre class="programlisting brush: java">import org.apache.zest.library.constraints.annotation.*; [...snip...] Modified: zest/site/content/java/develop/library-conversion.html URL: http://svn.apache.org/viewvc/zest/site/content/java/develop/library-conversion.html?rev=1739254&r1=1739253&r2=1739254&view=diff ============================================================================== --- zest/site/content/java/develop/library-conversion.html (original) +++ zest/site/content/java/develop/library-conversion.html Fri Apr 15 08:28:56 2016 @@ -66,7 +66,7 @@ })(); </script> - </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><span xmlns="" href="library-conversion.html">Conversion - DEPRECATED</span></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Conversion - DEPRECATED"><div >class="titlepage"><div><div><h3 class="title"><a >id="library-conversion"></a>Conversion - DEPRECATED</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></ p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Conversion Library provides support for converting composite types.</p><div class="table"><a id="idm491906277136"></a><p class="title"><strong>Table 28. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.conversion</p></td><td align="left" valign="top"><p>3.0-SNAPSHOT</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="warning" title="DEPRECATED" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">DEPRECATED </h3><p>This functionality is now present in <a class="xref" href="glossary.html#def-unitofwork">UnitOfWork</a> as + </head><body><div xmlns="" xmlns:exsl="http://exslt.org/common" class="logo"><a href="index.html"><img src="images/logo-standard.png" /></a></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="top-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="index.html#home">Zestâ¢</a></span></dt><dt><span class="section"><a href="intro.html">Introduction</a></span></dt><dt><span class="section"><a href="tutorials.html">Tutorials</a></span></dt><dt><span class="section"><a href="javadocs.html">Javadoc</a></span></dt><dt><span class="section"><a href="samples.html">Samples</a></span></dt><dt><span class="section"><a href="core.html">Core</a></span></dt><dt><span class="section"><span xmlns="" href="libraries.html">Libraries</span></span></dt><dt><span class="section"><a href="extensions.html">Extensions</a></span></dt><dt><span class="section"><a href="tools.html">Tools</a></span></dt><dt><span class="section"><a href="glossary.htm l">Glossary </a></span></dt></dl></div></div><div xmlns="" xmlns:exsl="http://exslt.org/common" class="sub-nav"><div xmlns="http://www.w3.org/1999/xhtml" class="toc"><dl><dt><span class="section"><a href="libraries.html#_overview_5">Overview</a></span></dt><dt><span class="section"><a href="lang-groovy.html">Groovy Scripting</a></span></dt><dt><span class="section"><a href="lang-javascript.html">Javascript Scripting</a></span></dt><dt><span class="section"><a href="lang-scala.html">Scala Support</a></span></dt><dt><span class="section"><a href="library-alarm.html">Alarms</a></span></dt><dt><span class="section"><a href="library-circuitbreaker.html">Circuit Breaker</a></span></dt><dt><span class="section"><a href="library-constraints.html">Constraints</a></span></dt><dt><span class="section"><span xmlns="" href="library-conversion.html">Conversion - DEPRECATED</span></span></dt><dt><span class="section"><a href="library-eventsourcing.html">Event Sourcing</a></span></dt><dt><span c lass="section"><a href="library-fileconfig.html">FileConfig</a></span></dt><dt><span class="section"><a href="library-http.html">HTTP</a></span></dt><dt><span class="section"><a href="library-invocation-cache.html">Invocation Cache</a></span></dt><dt><span class="section"><a href="library-jmx.html">JMX</a></span></dt><dt><span class="section"><a href="library-locking.html">Locking</a></span></dt><dt><span class="section"><a href="library-logging.html">Logging</a></span></dt><dt><span class="section"><a href="library-metrics.html">Metrics Library</a></span></dt><dt><span class="section"><a href="library-osgi.html">OSGi</a></span></dt><dt><span class="section"><a href="library-rdf.html">RDF</a></span></dt><dt><span class="section"><a href="library-rest-client.html">ReST Client</a></span></dt><dt><span class="section"><a href="library-rest-client-primer.html">ReST - HATEOAS Primer</a></span></dt><dt><span class="section"><a href="library-rest-common.html">ReST Common</a></span></dt><dt ><span class="section"><a href="library-rest-server.html">ReST >Server</a></span></dt><dt><span class="section"><a >href="library-scheduler.html">Scheduler</a></span></dt><dt><span >class="section"><a >href="library-servlet.html">Servlet</a></span></dt><dt><span >class="section"><a href="library-shiro.html">Shiro >Security</a></span></dt><dt><span class="section"><a >href="library-shiro-web.html">Shiro Web Security</a></span></dt><dt><span >class="section"><a href="library-spring.html">Spring >Integration</a></span></dt><dt><span class="section"><a >href="library-sql.html">SQL</a></span></dt><dt><span class="section"><a >href="library-uid.html">UID</a></span></dt><dt><span class="section"><a >href="library-uowfile.html">UoWFile</a></span></dt></dl></div></div><div >class="section" title="Conversion - DEPRECATED"><div >class="titlepage"><div><div><h3 class="title"><a >id="library-conversion"></a>Conversion - DEPRECATED</h3></div></div></div><p >class="remark"><em><span class="comment"></span></em></ p><p class="devstatus-code-stable">code</p><p class="devstatus-docs-brief">docs</p><p class="devstatus-tests-some">tests</p><p>The Conversion Library provides support for converting composite types.</p><div class="table"><a id="idp140567696571728"></a><p class="title"><strong>Table 28. Artifact</strong></p><div class="table-contents"><table summary="Artifact" border="1"><colgroup><col class="col_1" /><col class="col_2" /><col class="col_3" /></colgroup><thead><tr><th align="left" valign="top">Group ID</th><th align="left" valign="top">Artifact ID</th><th align="left" valign="top">Version</th></tr></thead><tbody><tr><td align="left" valign="top"><p>org.apache.zest.library</p></td><td align="left" valign="top"><p>org.apache.zest.library.conversion</p></td><td align="left" valign="top"><p>0</p></td></tr></tbody></table></div></div><br class="table-break" /><div class="warning" title="DEPRECATED" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">DEPRECATED</h3><p> This functionality is now present in <a class="xref" href="glossary.html#def-unitofwork">UnitOfWork</a> as the two methods toEntity() and toValue(). Since this library was written assocations of all kinds are now fully supported in Values.</p></div><div class="section" title="Entities to Values"><div class="titlepage"><div><div><h4 class="title"><a id="_entities_to_values"></a>Entities to Values</h4></div></div></div><p>To convert Entities to Values, use the EntityToValueService. It is easily assembled:</p><pre class="programlisting brush: java">new EntityToValueAssembler().assemble( module ); </pre><p>Letâs say we have an interface defining state:</p><pre class="programlisting brush: java">public interface PersonState @@ -118,13 +118,13 @@ public static abstract class PersonMixin Property<List<String>> children(); } -</pre><p>Here is how to convert an EntityComposite to a ValueComposite:</p><pre class="programlisting brush: java">EntityToValueService conversion = module.findService( EntityToValueService.class ).get(); +</pre><p>Here is how to convert an EntityComposite to a ValueComposite:</p><pre class="programlisting brush: java">EntityToValueService conversion = serviceFinder.findService( EntityToValueService.class ).get(); PersonValue value = conversion.convert( PersonValue.class, entity ); </pre></div><div class="section" title="Values to Entities"><div class="titlepage"><div><div><h4 class="title"><a id="_values_to_entities"></a>Values to Entities</h4></div></div></div><p>Using the ValueToEntity service one can create new Entities or update existing ones from Values. It is easy assembled:</p><pre class="programlisting brush: java">new ValueToEntityAssembler().assemble( module ); -</pre><p>Letâs say we have the exact same model as described above.</p><p>Here is how to create an EntityComposite from a ValueComposite:</p><pre class="programlisting brush: java">ValueToEntity conversion = module.findService( ValueToEntity.class ).get(); +</pre><p>Letâs say we have the exact same model as described above.</p><p>Here is how to create an EntityComposite from a ValueComposite:</p><pre class="programlisting brush: java">ValueToEntity conversion = serviceFinder.findService( ValueToEntity.class ).get(); PersonEntity edEntity = conversion.create( PersonEntity.class, edValue ); -</pre><p>Here is how to update an EntityComposite from a ValueComposite:</p><pre class="programlisting brush: java">ValueToEntity conversion = module.findService( ValueToEntity.class ).get(); +</pre><p>Here is how to update an EntityComposite from a ValueComposite:</p><pre class="programlisting brush: java">ValueToEntity conversion = serviceFinder.findService( ValueToEntity.class ).get(); conversion.update( rickyEntity, rickyNewStateValue ); </pre></div><div class="section" title="Associations are converted to Identity strings"><div class="titlepage"><div><div><h4 class="title"><a id="_associations_are_converted_to_identity_strings"></a>Associations are converted to Identity strings</h4></div></div></div><p>If your Entities and Values cannot use the same state type, you can annotate the Value that is the target of the conversion with the <code class="literal">@Unqualified</code> annotation. Then, the lookup of the Value Property will be performed using the
