Package org.apache.wsif.wsdl.extensions.java

Examples of org.apache.wsif.wsdl.extensions.java.JavaAddress


    }

    public java.lang.Object getObjectReference() throws WSIFException {
        Trc.entry(this);
        if (fieldObjectReference == null) {
            JavaAddress address = null;

            try {
                ExtensibilityElement portExtension =
                    (ExtensibilityElement) fieldPortModel.getExtensibilityElements().get(0);

                if (portExtension == null) {
                    throw new WSIFException("missing port extension");
                }

                address = (JavaAddress) portExtension;

                fieldObjectReference =
                    Class
                        .forName(
                            address.getClassName(),
                            true,
                            Thread.currentThread().getContextClassLoader())
                        .newInstance();
            } catch (Exception ex) {
              Trc.exception(ex);
                throw new WSIFException(
                    "Could not create object of class '" + address.getClassName() + "'",
                    ex);
            }
        }
        Trc.exit(fieldObjectReference);
        return fieldObjectReference;
View Full Code Here

TOP

Related Classes of org.apache.wsif.wsdl.extensions.java.JavaAddress

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.