FileDocCategorySizeDatePackage
LockingFactoryLauncher.javaAPI DocExample709Thu Nov 08 00:23:12 GMT 2001com.ora.rmibook.chapter17.better.factory.applications

LockingFactoryLauncher

public class LockingFactoryLauncher extends Object implements Constants

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        try {
            LockingFactory_Impl factory = new LockingAccountFactory_Impl();

            Naming.rebind(ACCOUNT_FACTORY_NAME, factory);
            System.out.println("Factory successfully launched.");
        } catch (Exception e) {
            System.out.println(e);
        }