org.apache.geronimo.console
Class BasePortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.geronimo.console.BasePortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig
Direct Known Subclasses:
AbstractSecurityManagerPortlet, BaseJMSPortlet, ClassLoaderViewPortlet, ConfigManagerPortlet, ConnectorPortlet, DatabasePoolPortlet, DBViewerPortlet, DependencyViewPortlet, DeploymentPortlet, DerbyLogViewerPortlet, InternalDBPortlet, JavaSystemInfoPortlet, JMSConnectionFactoryManagerPortlet, JMSManagerPortlet, JMXManagerPortlet, JNDIViewPortlet, LDAPManagerPortlet, LogManagerPortlet, LogViewerPortlet, MultiPagePortlet, RepositoryViewPortlet, RunSQLPortlet, SecurityRealmPortlet, ServerInfoPortlet, ServerManagerPortlet, WebAccessLogViewerPortlet, WebManagerPortlet, WelcomePortlet

public class BasePortlet
extends javax.portlet.GenericPortlet

Superclass with some generic functionality for console portlets


Field Summary
protected static String WEB_SERVER_GENERIC
           
protected static String WEB_SERVER_JETTY
           
protected static String WEB_SERVER_TOMCAT
           
 
Constructor Summary
BasePortlet()
           
 
Method Summary
static Object callOperation(Object target, String operation, Object[] args)
           
static Object getProperty(Object target, String name)
           
protected static String getWebServerType(Class cls)
           
static void setProperty(Object target, String name, Object value)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, processAction, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_SERVER_JETTY

protected static final String WEB_SERVER_JETTY
See Also:
Constant Field Values

WEB_SERVER_TOMCAT

protected static final String WEB_SERVER_TOMCAT
See Also:
Constant Field Values

WEB_SERVER_GENERIC

protected static final String WEB_SERVER_GENERIC
See Also:
Constant Field Values
Constructor Detail

BasePortlet

public BasePortlet()
Method Detail

getWebServerType

protected static final String getWebServerType(Class cls)

setProperty

public static final void setProperty(Object target,
                                     String name,
                                     Object value)

getProperty

public static final Object getProperty(Object target,
                                       String name)

callOperation

public static final Object callOperation(Object target,
                                         String operation,
                                         Object[] args)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.