001: /******************************************************************************
002: * JBoss, a division of Red Hat *
003: * Copyright 2006, Red Hat Middleware, LLC, and individual *
004: * contributors as indicated by the @authors tag. See the *
005: * copyright.txt in the distribution for a full listing of *
006: * individual contributors. *
007: * *
008: * This is free software; you can redistribute it and/or modify it *
009: * under the terms of the GNU Lesser General Public License as *
010: * published by the Free Software Foundation; either version 2.1 of *
011: * the License, or (at your option) any later version. *
012: * *
013: * This software is distributed in the hope that it will be useful, *
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of *
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
016: * Lesser General Public License for more details. *
017: * *
018: * You should have received a copy of the GNU Lesser General Public *
019: * License along with this software; if not, write to the Free *
020: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *
021: * 02110-1301 USA, or see the FSF site: http://www.fsf.org. *
022: ******************************************************************************/package org.jboss.portal.wsrp.core;
023:
024: import java.io.Serializable;
025:
026: public class RuntimeContext implements Serializable {
027: protected java.lang.String userAuthentication;
028: protected java.lang.String portletInstanceKey;
029: protected java.lang.String namespacePrefix;
030: protected org.jboss.portal.wsrp.core.Templates templates;
031: protected java.lang.String sessionID;
032: protected org.jboss.portal.wsrp.core.Extension[] extensions;
033:
034: public RuntimeContext() {
035: }
036:
037: public RuntimeContext(java.lang.String userAuthentication,
038: java.lang.String portletInstanceKey,
039: java.lang.String namespacePrefix,
040: org.jboss.portal.wsrp.core.Templates templates,
041: java.lang.String sessionID,
042: org.jboss.portal.wsrp.core.Extension[] extensions) {
043: this .userAuthentication = userAuthentication;
044: this .portletInstanceKey = portletInstanceKey;
045: this .namespacePrefix = namespacePrefix;
046: this .templates = templates;
047: this .sessionID = sessionID;
048: this .extensions = extensions;
049: }
050:
051: public java.lang.String getUserAuthentication() {
052: return userAuthentication;
053: }
054:
055: public void setUserAuthentication(
056: java.lang.String userAuthentication) {
057: this .userAuthentication = userAuthentication;
058: }
059:
060: public java.lang.String getPortletInstanceKey() {
061: return portletInstanceKey;
062: }
063:
064: public void setPortletInstanceKey(
065: java.lang.String portletInstanceKey) {
066: this .portletInstanceKey = portletInstanceKey;
067: }
068:
069: public java.lang.String getNamespacePrefix() {
070: return namespacePrefix;
071: }
072:
073: public void setNamespacePrefix(java.lang.String namespacePrefix) {
074: this .namespacePrefix = namespacePrefix;
075: }
076:
077: public org.jboss.portal.wsrp.core.Templates getTemplates() {
078: return templates;
079: }
080:
081: public void setTemplates(
082: org.jboss.portal.wsrp.core.Templates templates) {
083: this .templates = templates;
084: }
085:
086: public java.lang.String getSessionID() {
087: return sessionID;
088: }
089:
090: public void setSessionID(java.lang.String sessionID) {
091: this .sessionID = sessionID;
092: }
093:
094: public org.jboss.portal.wsrp.core.Extension[] getExtensions() {
095: return extensions;
096: }
097:
098: public void setExtensions(
099: org.jboss.portal.wsrp.core.Extension[] extensions) {
100: this.extensions = extensions;
101: }
102: }
|