Package org.omg.PortableServer.POAPackage

Examples of org.omg.PortableServer.POAPackage.WrongAdapter


                            logger.debug(logPrefix +
                                         " ObjectKey : " + org.jacorb.orb.util.CorbaLoc.parseKey(request.objectKey()) +
                                         " to POA Id : " + org.jacorb.orb.util.CorbaLoc.parseKey(getPOAId()) + " mismatch.");
                        }
                    }
                    throw new WrongAdapter();
                }
                if (isSystemId() && !previouslyGeneratedObjectId(request.objectId()) )
                {
                    if (logger.isWarnEnabled())
                    {
                        logger.warn(logPrefix +
                                    " rid: " + request.requestId() +
                                    " opname: " + request.operation() +
                                    " _invoke: object id not previously generated!");
                        if (logger.isDebugEnabled())
                        {
                            logger.debug(logPrefix +
                                         " ObjectId : " + org.jacorb.orb.util.CorbaLoc.parseKey(request.objectId()) +
                                         " to POA watermark : " + org.jacorb.orb.util.CorbaLoc.parseKey(watermark) + " mismatch.");
                        }
                    }
                    throw new WrongAdapter();
                }
            }


            try
View Full Code Here


    protected static void checkNotLocal(org.omg.CORBA.Object obj)
        throws WrongAdapter
    {
        if (obj instanceof org.omg.CORBA.LocalObject)
        {
            throw new WrongAdapter ("Local object");
        }
    }
View Full Code Here

            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
                            "reference_to_id: oid not previously generated!");
            }
            throw new WrongAdapter();
        }

        return objectId;
    }
View Full Code Here

            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
                            "reference_to_servant: oid not previously generated!");
            }
            throw new WrongAdapter();
        }

        ByteArrayKey oid = new ByteArrayKey (objectId);

        if ( ( aom != null && aom.isDeactivating (oid) )
View Full Code Here

                            logger.debug(logPrefix +
                                         " ObjectId : " + org.jacorb.orb.util.CorbaLoc.parseKey(request.objectId()) +
                                         " to POA watermark : " + org.jacorb.orb.util.CorbaLoc.parseKey(watermark) + " mismatch.");
                        }
                    }
                    throw new WrongAdapter();
                }
            }


            try
View Full Code Here

    protected static void checkNotLocal(org.omg.CORBA.Object obj)
        throws WrongAdapter
    {
        if (obj instanceof org.omg.CORBA.LocalObject)
        {
            throw new WrongAdapter ("Local object");
        }
    }
View Full Code Here

                    logPrefix +
                    "Unable to extract OID from objectKey: " +
                    (new String(objectKey))
                );
            }
            throw new WrongAdapter();
        }

        if (isSystemId() && !previouslyGeneratedObjectId(objectId))
        {
            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
                            "reference_to_id: oid not previously generated!");
            }
            throw new WrongAdapter();
        }
        else if (!isSystemId() && !_getQualifiedName().equals (POAUtil.extractPOAName(objectKey)))
        {
            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "reference: " + new String (objectKey) +
                            "reference_to_id: reference not previously generated for this POA!");
            }
            throw new WrongAdapter();
        }

        return objectId;
    }
View Full Code Here

                    logPrefix +
                    "Unable to extract OID from objectKey: " +
                    (new String(objectKey))
                );
            }
            throw new WrongAdapter();
        }

        if (isSystemId() && !previouslyGeneratedObjectId(objectId))
        {
            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "oid: " + POAUtil.convert(objectId) +
                            "reference_to_servant: oid not previously generated!");
            }
            throw new WrongAdapter();
        }
        else if (!isSystemId() && !_getQualifiedName().equals (POAUtil.extractPOAName(objectKey)))
        {
            if (logger.isWarnEnabled())
            {
                logger.warn(logPrefix + "reference: " + new String (objectKey) +
                            "reference_to_id: reference not previously generated for this POA!");
            }
            throw new WrongAdapter();
        }

        final ByteArrayKey oid = new ByteArrayKey (objectId);

        if ( ( aom != null && aom.isDeactivating (oid) )
View Full Code Here

TOP

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

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.