Java Code Examples for com.sun.corba.se.impl.protocol.SpecialMethod#isNonExistentMethod()

The following examples show how to use com.sun.corba.se.impl.protocol.SpecialMethod#isNonExistentMethod() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CorbaServerRequestDispatcherImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 2
Source File: CorbaServerRequestDispatcherImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 3
Source File: CorbaServerRequestDispatcherImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 4
Source File: CorbaServerRequestDispatcherImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 5
Source File: CorbaServerRequestDispatcherImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 6
Source File: CorbaServerRequestDispatcherImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 7
Source File: CorbaServerRequestDispatcherImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 8
Source File: CorbaServerRequestDispatcherImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 9
Source File: CorbaServerRequestDispatcherImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}
 
Example 10
Source File: CorbaServerRequestDispatcherImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/** Always throws OBJECT_NOT_EXIST if operation is not a special method.
* If operation is _non_existent or _not_existent, this will just
* return without performing any action, so that _non_existent can return
* false.  Always throws OBJECT_NOT_EXIST for any other special method.
* Update for issue 4385.
*/
protected void handleNullServant(String operation, NullServant nserv )
{
    try {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant->: " + operation);
        }

        SpecialMethod specialMethod =
            SpecialMethod.getSpecialMethod(operation);

        if ((specialMethod == null) ||
            !specialMethod.isNonExistentMethod()) {
            if (orb.subcontractDebugFlag) {
                dprint(".handleNullServant: " + operation
                       + ": throwing OBJECT_NOT_EXIST");
            }

            throw nserv.getException() ;
        }
    } finally {
        if (orb.subcontractDebugFlag) {
            dprint(".handleNullServant<-: " + operation);
        }
    }
}