© 2001 BEA Systems, Inc.

com.beasys.commerce.foundation.pipeline
Class CommercePipelineComponentExtended

java.lang.Object
  |
  +--com.beasys.commerce.foundation.pipeline.CommercePipelineComponentExtended
All Implemented Interfaces:
PipelineComponentExtended

public abstract class CommercePipelineComponentExtended
extends java.lang.Object
implements PipelineComponentExtended

A CommercePipelineComponentExtended serves as the base class for all the PipelineComponents in WLCS.

Note: this class makes the CommercePipelineComponent abstract class obsolete. New PC implementations should extend this class, and also any PC that will operate in an environment where concurrent requests on the same HTTP Session can occur (such as sites which use HTML frames). This version allows for request attributes to be associated with a specific request.

See Also:
CommercePipelineComponent, PipelineComponentExtended, PipelineSessionExtended

Constructor Summary
CommercePipelineComponentExtended()
           
 
Method Summary
 java.sql.Connection getConnection()
          Returns a database connection
 void log(int level, java.lang.String message)
          A utility method to log messages
 void log(int level, java.lang.String message, java.lang.Throwable exception)
          A utility method to log messages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.beasys.commerce.foundation.pipeline.PipelineComponentExtended
process
 

Constructor Detail

CommercePipelineComponentExtended

public CommercePipelineComponentExtended()
Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws SystemException
Returns a database connection

Set the commerce.jdbc.pool.url property in the weblogiccommerce.properties to the pool url. For example, for the commerce pool specified in the weblogic.properties, this property should be set as:

          commerce.jdbc.pool.url=weblogic.jdbc.jts.commercePool.
 
 


log

public void log(int level,
                java.lang.String message,
                java.lang.Throwable exception)
A utility method to log messages
Parameters:
aLevel - int. Possible levels are:
           Log.LOG_DEBUG
           Log.LOG_INFO
           Log.LOG_WARNING
           Log.LOG_ERROR
           Log.LOG_FATAL
           Log.LOG_SECURITY 
 
message - String. The message to be logged
exception - Throwable. The exception that needs to be logged

log

public void log(int level,
                java.lang.String message)
A utility method to log messages
Parameters:
aLevel - int. Possible levels are:
           Log.LOG_DEBUG
           Log.LOG_INFO
           Log.LOG_WARNING
           Log.LOG_ERROR
           Log.LOG_FATAL
           Log.LOG_SECURITY
 
message - String. The message to be logged

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved