1 // SECTION-START[License Header] 2 // <editor-fold defaultstate="collapsed" desc=" Generated License "> 3 /* 4 * Java Object Management and Configuration 5 * Copyright (C) Christian Schulte, 2011-313 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions 10 * are met: 11 * 12 * o Redistributions of source code must retain the above copyright 13 * notice, this list of conditions and the following disclaimer. 14 * 15 * o Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 17 * the documentation and/or other materials provided with the 18 * distribution. 19 * 20 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 21 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 22 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 23 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, 24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 * 31 * $JOMC: RuntimeModelObject.java 4795 2013-04-21 09:09:02Z schulte $ 32 * 33 */ 34 // </editor-fold> 35 // SECTION-END 36 package org.jomc.ri.model; 37 38 // SECTION-START[Documentation] 39 // <editor-fold defaultstate="collapsed" desc=" Generated Documentation "> 40 /** 41 * Runtime model object. 42 * 43 * <dl> 44 * <dt><b>Identifier:</b></dt><dd>org.jomc.ri.model.RuntimeModelObject</dd> 45 * <dt><b>Multiplicity:</b></dt><dd>Many</dd> 46 * <dt><b>Scope:</b></dt><dd>None</dd> 47 * </dl> 48 * 49 * @author <a href="mailto:cs@schulte.it">Christian Schulte</a> 1.2 50 * @version 1.2 51 * @see org.jomc.ObjectManager#getObject(java.lang.Class) getObject(RuntimeModelObject[].class) 52 * @see org.jomc.ObjectManager#getObject(java.lang.Class,java.lang.String) getObject(RuntimeModelObject.class, "<i>implementation name</i>") 53 * @see org.jomc.ObjectManagerFactory 54 */ 55 // </editor-fold> 56 // SECTION-END 57 // SECTION-START[Annotations] 58 // <editor-fold defaultstate="collapsed" desc=" Generated Annotations "> 59 @javax.annotation.Generated( value = "org.jomc.tools.SourceFileProcessor 1.5", comments = "See http://www.jomc.org/jomc/1.5/jomc-tools-1.5" ) 60 // </editor-fold> 61 // SECTION-END 62 public interface RuntimeModelObject 63 { 64 // SECTION-START[RuntimeModelObject] 65 66 /** Handles shared runtime state. */ 67 void gc(); 68 69 /** Clears shared runtime state. */ 70 void clear(); 71 72 // SECTION-END 73 }