/** * Dispose */ public void dispose() { this.objectModel = null; this.context = null; this.contextPath = null; this.servletPath = null; this.sitemapURI = null; this.url=null; this.parameters=null; this.eperson=null; this.knot=null; this.objectManager=null; super.dispose(); }
/** * This is a short cut method for creating a new message object, this * allows them to be created with one simple method call that uses * the default catalogue. * * @param key * The catalogue key used to look up a message. * @return A new message object. */ public static Message message(String key) { return message(getDefaultMessageCatalogue(), key); }
this.addUserMeta((UserMeta) child); this.addPageMeta((PageMeta) child); this.addBody((Body) child); this.addOptions((Options) child); handleException(e);
/** * Set up the transformer so that it can build a feeder Wing document and * merge it into the main document * * FIXME: Update document: - this method must be called to initialize the * framework. It must be called after the component's setup has been called * and the implementing object setup. * */ public void setupWing() throws WingException { this.wingContext = new WingContext(); this.wingContext.setLogger(this.getLogger()); this.wingContext.setComponentName(this.getComponentName()); this.wingContext.setObjectManager(this.getObjectManager()); feederDocument = this.createWingDocument(wingContext); this.stack = new Stack<WingMergeableElement>(); }