Package com.sun.corba.se.spi.presentation.rmi

Examples of com.sun.corba.se.spi.presentation.rmi.PresentationManager$StubFactoryFactory


                        return sff ;
                    }
                }
            ) ;

        PresentationManager pm = new PresentationManagerImpl( useDynamicStub ) ;
        pm.setStubFactoryFactory( false,
            PresentationDefaults.getStaticStubFactoryFactory() ) ;
        pm.setStubFactoryFactory( true, dynamicStubFactoryFactory ) ;
        return pm;
    }
View Full Code Here


        SecurityManager sm = System.getSecurityManager();
        if (sm != null && AppContext.getAppContexts().size() > 0) {
            AppContext ac = AppContext.getAppContext();
            if (ac != null) {
                synchronized (pmLock) {
                    PresentationManager pm =
                        (PresentationManager) ac.get(PresentationManager.class);
                    if (pm == null) {
                        pm = setupPresentationManager();
                        ac.put(PresentationManager.class, pm);
                    }
View Full Code Here

     * com.sun.CORBA.ORBUseDynamicStub is true or false.
     */
    public static PresentationManager.StubFactoryFactory
        getStubFactoryFactory()
    {
        PresentationManager gPM = getPresentationManager();
        boolean useDynamicStubs = gPM.useDynamicStubs() ;
        return gPM.getStubFactoryFactory( useDynamicStubs ) ;
    }
View Full Code Here

        } catch (ClassNotFoundException exc) {
            throw wrapper.classNotFound3(
                CompletionStatus.COMPLETED_MAYBE, exc, className ) ;
        }

        PresentationManager pm = ORB.getPresentationManager() ;

        if (IDLEntity.class.isAssignableFrom( cls ) &&
            !Remote.class.isAssignableFrom( cls )) {
            // IDL stubs must always use static factories.
            PresentationManager.StubFactoryFactory sff =
                pm.getStubFactoryFactory( false ) ;
            PresentationManager.StubFactory sf =
                sff.createStubFactory( className, true, remoteCodeBase,
                    expectedClass, classLoader ) ;
            return sf ;
        } else {
            PresentationManager.ClassData classData = pm.getClassData( cls ) ;
            return makeDynamicStubFactory( pm, classData, classLoader ) ;
        }
    }
View Full Code Here

        PresentationManager pm, PresentationManager.ClassData classData,
        ClassLoader classLoader ) ;

    public Tie getTie( Class cls )
    {
        PresentationManager pm = ORB.getPresentationManager() ;
        return new ReflectiveTie( pm, wrapper ) ;
    }
View Full Code Here

            cls = JDKBridge.loadClass( cname, null, null ) ;
        } catch (ClassNotFoundException exc) {
            // XXX log this
        }

        PresentationManager pm =
            com.sun.corba.se.spi.orb.ORB.getPresentationManager() ;
        PresentationManager.ClassData classData = pm.getClassData( cls ) ;
        InvocationHandlerFactoryImpl ihfactory =
            (InvocationHandlerFactoryImpl)classData.getInvocationHandlerFactory() ;
        return ihfactory.getInvocationHandler( this ) ;
    }
View Full Code Here

        } catch (ClassNotFoundException exc) {
            throw wrapper.classNotFound3(
                CompletionStatus.COMPLETED_MAYBE, exc, className ) ;
        }

        PresentationManager pm = ORB.getPresentationManager() ;

        if (IDLEntity.class.isAssignableFrom( cls ) &&
            !Remote.class.isAssignableFrom( cls )) {
            // IDL stubs must always use static factories.
            PresentationManager.StubFactoryFactory sff =
                pm.getStubFactoryFactory( false ) ;
            PresentationManager.StubFactory sf =
                sff.createStubFactory( className, true, remoteCodeBase,
                    expectedClass, classLoader ) ;
            return sf ;
        } else {
            PresentationManager.ClassData classData = pm.getClassData( cls ) ;
            return makeDynamicStubFactory( pm, classData, classLoader ) ;
        }
    }
View Full Code Here

        PresentationManager pm, PresentationManager.ClassData classData,
        ClassLoader classLoader ) ;

    public Tie getTie( Class cls )
    {
        PresentationManager pm = ORB.getPresentationManager() ;
        return new ReflectiveTie( pm, wrapper ) ;
    }
View Full Code Here

            cls = JDKBridge.loadClass( cname, null, null ) ;
        } catch (ClassNotFoundException exc) {
            // XXX log this
        }

        PresentationManager pm =
            com.sun.corba.se.spi.orb.ORB.getPresentationManager() ;
        PresentationManager.ClassData classData = pm.getClassData( cls ) ;
        InvocationHandlerFactoryImpl ihfactory =
            (InvocationHandlerFactoryImpl)classData.getInvocationHandlerFactory() ;
        return ihfactory.getInvocationHandler( this ) ;
    }
View Full Code Here

TOP

Related Classes of com.sun.corba.se.spi.presentation.rmi.PresentationManager$StubFactoryFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.