BEA Systems, Inc.

com.beasys.commerce.bridge.bmp
Class SmartBMPFactory

java.lang.Object
  |
  +--com.beasys.commerce.bridge.bmp.SmartBMPFactory

public class SmartBMPFactory
extends java.lang.Object

This class implements the Singleton design pattern for obtaining SmartBMP instances. A single instance of a SmartBMP exists for a given SmartBMP class name.


Constructor Summary
SmartBMPFactory()
           
 
Method Summary
static SmartBMP createSmartBMP(java.lang.String smartBMPClass)
          Returns the singleton SmartBMP for the specified class name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartBMPFactory

public SmartBMPFactory()
Method Detail

createSmartBMP

public static SmartBMP createSmartBMP(java.lang.String smartBMPClass)
                               throws java.lang.ClassNotFoundException,
                                      java.lang.IllegalAccessException,
                                      java.lang.InstantiationException
Returns the singleton SmartBMP for the specified class name. The method uses the design pattern that reduces contention and synchronization overhead.
Parameters:
smartBMPClass - class name of the SmartBMP
Returns:
singleton SmartBMP

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved