Package org.omg.PortableServer.POAPackage

Examples of org.omg.PortableServer.POAPackage.ObjectNotActive


        throws WrongPolicy, ObjectNotActive
    {
        if (defaultServant != null)
            return defaultServant;

        throw new ObjectNotActive() ;
    }
View Full Code Here


        Servant servant = activeObjectMap.getServant( entry ) ;
        if (servant != null)
            return servant ;
        else
            throw new ObjectNotActive() ;
    }
View Full Code Here

        throws WrongPolicy, ObjectNotActive
    {
        Servant s = internalIdToServant( id ) ;

        if (s == null)
            throw new ObjectNotActive() ;
        else
            return s;
    }
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

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

            deactivationList.addElement(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

        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

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.