Package org.omg.PortableServer.POAPackage

Examples of org.omg.PortableServer.POAPackage.ObjectNotActive


        synchronized( deactivationListLock )
        {
            if ( !objectMap.containsKey( oidbak ) ||
                 deactivationList.contains( oidbak ) )
            {
                throw new ObjectNotActive();
            }

            deactivationList.addElement(oidbak);
        }
View Full Code Here


        final Servant servant = aom.getServant(oid);
        // objectId is not active
        if (servant == null)
        {
            throw new ObjectNotActive();
        }

        /* If the object with the specified ObjectId currently active,
           a reference encapsulating  the information used to activate
           the object is returned.  */
 
View Full Code Here

        if (useDefaultServant()) {
            return defaultServant;
        }

        throw new ObjectNotActive();
    }
View Full Code Here

            {
                logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
                            "cannot process request, because object is already in the deactivation process");
            }

            throw new ObjectNotActive();
        }

        Servant servant = null;

        /* is active servant */
        if (isRetain() && (servant = aom.getServant(objectId)) != null)
        {
            return servant;
        }
        else if (useDefaultServant())
        {
            return defaultServant;
        }

        throw new ObjectNotActive();
    }
View Full Code Here

        }

        try {
            AOMEntry entry = activeObjectMap.get(key);
            if (entry == null)
                throw new ObjectNotActive();

            Servant s = activeObjectMap.getServant( entry ) ;
            if (s == null)
                throw new ObjectNotActive();

            if (orb.poaDebugFlag) {
                System.out.println("Deactivating object " + s + " with POA " + poa);
            }
View Full Code Here

        final Servant servant = aom.getServant(oid);
        // objectId is not active
        if (servant == null)
        {
            throw new ObjectNotActive();
        }

        /* If the object with the specified ObjectId currently active,
           a reference encapsulating  the information used to activate
           the object is returned.  */
 
View Full Code Here

        if (useDefaultServant()) {
            return defaultServant;
        }

        throw new ObjectNotActive();
    }
View Full Code Here

        else if (useDefaultServant())
        {
            return defaultServant;
        }

        throw new ObjectNotActive();
    }
View Full Code Here

        throws ObjectNotActive
    {
        if ( !objectMap.containsKey( oidbak ) ||
             deactivationList.contains( oidbak ) )
        {
            throw new ObjectNotActive();
        }

        deactivationList.add(oidbak);

        RemovalStruct rs = new RemovalStruct (oidbak,
View Full Code Here

        }

        try {
            AOMEntry entry = activeObjectMap.get(key);
            if (entry == null)
                throw new ObjectNotActive();

            Servant s = activeObjectMap.getServant( entry ) ;
            if (s == null)
                throw new ObjectNotActive();

            if (orb.poaDebugFlag) {
                System.out.println("Deactivating object " + s + " with POA " + poa);
            }
View Full Code Here

TOP

Related Classes of org.omg.PortableServer.POAPackage.ObjectNotActive

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.