Package org.oasisopen.sca

Examples of org.oasisopen.sca.ServiceUnavailableException


                result = chain == null ? null : new LocalSCABindingInvoker(chain, operation, passByValue, endpointReference, extensionPoints, bindingTransformer);
            }
        }

        if (result == null) {
            throw new ServiceUnavailableException("Unable to create SCA binding invoker for local target " + endpointReference.getComponent().getName() + " reference "
                    + endpointReference.getReference().getName() + " (bindingURI=" + endpointReference.getBinding().getURI() + " operation=" + operation.getName() + ")");
        }

        return result;
    }
View Full Code Here


            try {
                wrapper = createInstanceWrapper();
                wrapper.start();
            } catch (Exception e) {
                wrapper = null;
                throw new ServiceUnavailableException(e);
            }
        }
        return wrapper;
    }
View Full Code Here

    }

    public Invoker createInvoker(Operation operation) {
        Invoker invoker = getInvoker(endpointReference, operation);
        if (invoker == null) {
            throw new ServiceUnavailableException(
                                                  "Unable to create SCA binding invoker for local target " + component
                                                      .getName()
                                                      + " reference "
                                                      + reference.getName()
                                                      + " (bindingURI="
View Full Code Here

                break;
            }
        }

        if (component == null) {
            throw new ServiceUnavailableException("The service " + name + " has not been contributed to the domain");
        }

        return ((RuntimeComponent)component).getServiceReference(businessInterface, serviceName);
    }
View Full Code Here

            return getDistributedProvider().createInvoker(operation);
        } else {
            RuntimeWire wire = reference.getRuntimeWire(binding);
            Invoker invoker = getInvoker(wire, operation);
            if (invoker == null) {
                throw new ServiceUnavailableException("Unable to create SCA binding invoker for local target " + component.getName()
                    + " reference "
                    + reference.getName()
                    + " (bindingURI="
                    + binding.getURI()
                    + " operation="
View Full Code Here

                }
            }
        }

        if (component == null) {
            throw new ServiceUnavailableException("The service " + name + " has not been contributed to the domain");
        }
        RuntimeComponentContext componentContext = null;

        // If the component is a composite, then we need to find the
        // non-composite component that provides the requested service
View Full Code Here

        if (remotable && distributedProvider != null) {
            return distributedProvider.createInvoker(operation);
        } else {
            Invoker invoker = getInvoker(endpointReference, operation);
            if (invoker == null) {
                throw new ServiceUnavailableException(
                                                      "Unable to create SCA binding invoker for local target " + component
                                                          .getName()
                                                          + " reference "
                                                          + reference.getName()
                                                          + " (bindingURI="
View Full Code Here

            try {
                wrapper = createInstanceWrapper();
                wrapper.start();
            } catch (Exception e) {
                wrapper = null;
                throw new ServiceUnavailableException(e);
            }
        }
        return wrapper;
    }
View Full Code Here

        if (wrapper == null) {
            try {
                wrapper = createInstanceWrapper();
                wrapper.start();
            } catch (Exception e) {
                throw new ServiceUnavailableException(e);
            }
        }
        return wrapper;
    }
View Full Code Here

                break;
            }
        }

        if (component == null) {
            throw new ServiceUnavailableException("The service " + name + " has not been contributed to the domain");
        }
        RuntimeComponentContext componentContext = null;

        // If the component is a composite, then we need to find the
        // non-composite component that provides the requested service
View Full Code Here

TOP

Related Classes of org.oasisopen.sca.ServiceUnavailableException

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.