com.beasys.commerce.bridge.bmp
Class SmartBMPFactory

java.lang.Object
  extended by com.beasys.commerce.bridge.bmp.SmartBMPFactory

public class SmartBMPFactory
extends 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(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(String smartBMPClass)
                               throws ClassNotFoundException,
                                      IllegalAccessException,
                                      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
Throws
ClassNotFoundException
IllegalAccessException
InstantiationException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved