SmartBMPFactory Class

com.beasys.commerce.bridge.bmp
SmartBMPFactory Class

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.


Hierarchy
Object
  SmartBMPFactory

Constructor Summary

SmartBMPFactory()

 

Method Summary

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

Constructor Detail

SmartBMPFactory

public SmartBMPFactory()
 

Method Detail

createSmartBMP(String) Method

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

Exceptions

ClassNotFoundException
IllegalAccessException
InstantiationException