FileDocCategorySizeDatePackage
ServiceEngineObjectFactoryImpl.javaAPI DocGlassfish v2 API3249Fri May 04 22:30:24 BST 2007com.sun.enterprise.jbi.serviceengine.install

ServiceEngineObjectFactoryImpl

public class ServiceEngineObjectFactoryImpl extends Object implements ServiceEngineObjectFactory
author
Manisha Umbarje

Fields Summary
private static ServiceEngineObjectFactoryImpl
factoryObj
private Installer
installer
private MBeanHelper
helper
Constructors Summary
private ServiceEngineObjectFactoryImpl()
Creates a new instance of ServiceEngineObjectFactory

    
           
      
    
Methods Summary
public InstallercreateInstaller()

        if (installer == null)
            installer = new InstallerImpl(createMBeanHelper());
        return installer;
    
public MBeanHelpercreateMBeanHelper()

        if(helper == null) {
            helper = new MBeanHelper(createMBeanServerConnection());
        }
        return helper;
    
public javax.management.MBeanServerConnectioncreateMBeanServerConnection()

        try {
           return MBeanServerFactory .getMBeanServer();
        } catch(Exception e) {
            e.printStackTrace();
        }
        return null;
    
public static com.sun.enterprise.jbi.serviceengine.install.ServiceEngineObjectFactoryImplgetInstance()

        return factoryObj;