Package oracle.binding

Examples of oracle.binding.OperationInfo


        // No operation to invoke, return false.
        if (action == null) {
            return false; // false means we did not handle this call
        }

        final OperationInfo operationInfo = action.getOperationInfo(); // is DCInvokeMethod
        if (!(operationInfo instanceof DCInvokeMethod)) {
            return false; // false means we did not handle this call
        }

        final BindingContext bindingContext = (BindingContext) map;
        final DCBindingContainer bindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();
        final String methodName = operationInfo.getOperationName();

        // check for situation where the operation comes from a customization-class
        // annotation
        final Object instance = resolveAsExpression(bindingContext, bindings, operationInfo.getInstanceName());
        if (instance instanceof XMLDCElement) {
            XMLDCElement xmldce = (XMLDCElement) instance;
            if (xmldce.hasMethod(methodName, action.getParamsMap())) {
                // TODO: logging
                logger.fine("invoking @Operation method {0} on {1}, new Object[]{methodName, instance}");
View Full Code Here

TOP

Related Classes of oracle.binding.OperationInfo

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.