BEA Systems, Inc.

com.beasys.commerce.portal.admin
Class PortalServiceManager

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.beasys.commerce.axiom.jsp.JspServiceManager
                    |
                    +--com.beasys.commerce.portal.admin.PortalServiceManager

public class PortalServiceManager
extends JspServiceManager
implements PortalAdminConstants

Acts as a traffic cop for a portal implementation. Provides redirection, forwarding, name-resolution, and security services. Note: The PortalServiceManager is being deprecated in favor of the FlowManager, which provides additional functionality. Please see the documentation for the FlowManager.

See Also:
Serialized Form

Field Summary
protected  long lastPortalCheck
           
protected  java.lang.String portalName
           
protected  Portal thePortal
          Hold on to the reference to the portal.
 
Fields inherited from class com.beasys.commerce.axiom.jsp.JspServiceManager
allowAutoLogin, cookieTimeout, defaultDest, determiner, documentRoot, groupName, homePage, lastCheckTime, map, refreshWorkingDir, repositoryDir, sessionComparator, sessionParamName, sessionTimeout, trafficURI, workingDir, workingDirFiles
 
Fields inherited from interface com.beasys.commerce.portal.admin.PortalAdminConstants
PORTAL_MANAGER_A, PORTAL_NAME
 
Fields inherited from interface com.beasys.commerce.axiom.jsp.JspConstants
DATE_FORMAT, DEFAULT_DESTINATION, DEFAULT_SUCCESSOR, DESTINATION_URI, IMMUTABLE_SERVICEMANAGER_HOME_PAGE, JSP_CALENDAR_FEATURES, JSP_COMMERCE_CALENDAR_FEATURES, JSP_PORTALS_BASE_DIRECTORY, JSP_TOOLS_ADMIN_HOME, JSP_TOOLS_BASE_DIRECTORY, JSP_TOOLS_DOC_RTR, JSP_TOOLS_GUIDE_FEATURES, JSP_TOOLS_PROPERTYMGMT_ADMIN_HOME, JSP_TOOLS_USERMGMT_ADMIN_HOME, JSP_TOOLS_UTIL_DIRECTORY, P13N_CACHED_REQUEST, P13N_CACHED_SESSION, REPOSITORY_DIR, SERVICEMANAGER_COOKIE_TIMEOUT, SERVICEMANAGER_CURRENT_PAGE, SERVICEMANAGER_HOME_PAGE, SERVICEMANAGER_LOGGED_IN, SERVICEMANAGER_OVERRIDE_BOOK, SERVICEMANAGER_SESSION_TIMEOUT, SERVICEMANAGER_SUCCESSOR, SERVICEMANAGER_USER, SERVLET_CONFIG, TRAFFIC_URI, TRANSACTION_SERVICE, TRANSACTION_TIMEOUT, USER_TRANS_TIMEOUT, WORKING_DIR, WORKING_DIR_FILES
 
Constructor Summary
PortalServiceManager()
          Default constructor.
 
Method Summary
protected  java.lang.String checkSuspended(java.lang.String aDestination)
          Check to see if the portal is suspended.
protected  void getPortalDefinition()
          Get a handle to the portal ejb.
 void init(javax.servlet.ServletConfig config)
          Initializes the servlet.
protected  void initDeterminer()
          Init determiner.
protected  void resetSession(javax.servlet.http.HttpServletRequest aRequest)
          Reset the session to a known state.
protected  java.lang.String setTransactionalAttributes(javax.servlet.http.HttpServletRequest req, java.lang.String aDestination)
          Handle attributes.
 
Methods inherited from class com.beasys.commerce.axiom.jsp.JspServiceManager
appendParameters, baseReset, determineDestination, finishTx, getWorkingDirFiles, getWorkingDirFiles, initSession, redirect, service, startTx, stillAlive, userStillExist, validDestination, validDestination
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portalName

protected java.lang.String portalName

thePortal

protected Portal thePortal
Hold on to the reference to the portal.

lastPortalCheck

protected long lastPortalCheck
Constructor Detail

PortalServiceManager

public PortalServiceManager()
Default constructor.
Method Detail

initDeterminer

protected void initDeterminer()
Description copied from class: JspServiceManager
Init determiner.
Overrides:
initDeterminer in class JspServiceManager

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initializes the servlet. Looks for the property "initial" to set the pageCount variable.
Overrides:
init in class JspServiceManager
Parameters:
config - the ServletConfig

getPortalDefinition

protected void getPortalDefinition()
                            throws javax.servlet.ServletException
Get a handle to the portal ejb.

resetSession

protected void resetSession(javax.servlet.http.HttpServletRequest aRequest)
Reset the session to a known state.
Overrides:
resetSession in class JspServiceManager
Parameters:
aRequest - the HttpServletRequest to get the session from

setTransactionalAttributes

protected java.lang.String setTransactionalAttributes(javax.servlet.http.HttpServletRequest req,
                                                      java.lang.String aDestination)
                                               throws java.rmi.RemoteException
Handle attributes.
Overrides:
setTransactionalAttributes in class JspServiceManager
Parameters:
req - the HttpServletRequest
aDestination - the destination URL
Returns:
String if it is suspended this will be the suspended url.
Throws:
RemoteException -  

checkSuspended

protected java.lang.String checkSuspended(java.lang.String aDestination)
                                   throws java.rmi.RemoteException,
                                          PortalException,
                                          javax.servlet.ServletException
Check to see if the portal is suspended.
Parameters:
aDestination -  
Returns:
String
Throws:
RemoteException -  

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved