Examples of insert_Value()


Examples of org.apache.yoko.orb.CORBA.Any.insert_Value()

        if (origTC.kind() != org.omg.CORBA.TCKind.tk_abstract_interface)
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();

        if (value == null)
            any.insert_Value(null, type);
        else if (value instanceof java.io.Serializable)
            any.insert_Value((java.io.Serializable) value, type);
        else if (value instanceof org.omg.CORBA.Object)
            any.insert_Object((org.omg.CORBA.Object) value, type);
        else
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.Any.insert_Value()

            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();

        if (value == null)
            any.insert_Value(null, type);
        else if (value instanceof java.io.Serializable)
            any.insert_Value((java.io.Serializable) value, type);
        else if (value instanceof org.omg.CORBA.Object)
            any.insert_Object((org.omg.CORBA.Object) value, type);
        else
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.Any.insert_Value()

        if (origTC.kind() != org.omg.CORBA.TCKind.tk_abstract_interface)
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();

        if (value == null)
            any.insert_Value(null, type);
        else if (value instanceof java.io.Serializable)
            any.insert_Value((java.io.Serializable) value, type);
        else if (value instanceof org.omg.CORBA.Object)
            any.insert_Object((org.omg.CORBA.Object) value, type);
        else
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.Any.insert_Value()

            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();

        if (value == null)
            any.insert_Value(null, type);
        else if (value instanceof java.io.Serializable)
            any.insert_Value((java.io.Serializable) value, type);
        else if (value instanceof org.omg.CORBA.Object)
            any.insert_Object((org.omg.CORBA.Object) value, type);
        else
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

      IorSecurityConfigMetaData securityConfig =
         container.getBeanMetaData().getIorSecurityConfigMetaData();
      // if no security metadata was found, get the default metadata from the registry.
      if (securityConfig == null)
        securityConfig = (IorSecurityConfigMetaData) Registry.lookup(CorbaORBService.IOR_SECURITY_CONFIG);
      secPolicy.insert_Value(securityConfig);
      csiv2Policy = orb.create_policy(CSIv2Policy.TYPE, secPolicy);

      // Create SSLPolicy
      //    (SSL_REQUIRED ensures home and remote IORs
      //     will have port 0 in the primary address)
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

        if (obj == null) {
            // JDK 1.3.1-1 doesn't like NULL typecodes, so
            // we write it as a null Value.

            any.insert_Value(null);

        } else if (obj instanceof String) {
            any.insert_Value((String) obj);

        } else if (obj instanceof org.omg.CORBA.Object) {
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

            // we write it as a null Value.

            any.insert_Value(null);

        } else if (obj instanceof String) {
            any.insert_Value((String) obj);

        } else if (obj instanceof org.omg.CORBA.Object) {
            any.insert_Object((org.omg.CORBA.Object) obj);

        } else if (obj instanceof Any) {
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

        } else if (obj instanceof Any) {
            any.insert_any((Any) obj);

        } else if (obj instanceof IDLEntity) {
            any.insert_Value((Serializable) obj);

        } else if (obj instanceof java.rmi.Remote) {
            Remote ro = (Remote) obj;
            org.omg.CORBA.Object corba_obj;
            try {
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

            any.insert_Object((org.omg.CORBA.Object) corba_obj);

        } else if (obj instanceof Serializable || obj instanceof Externalizable) {

            any.insert_Value((Serializable) obj);

        } else {
            throw new MARSHAL("cannot write as " + obj.getClass()
                    + " to an Any");
        }
View Full Code Here

Examples of org.omg.CORBA.Any.insert_Value()

    private final org.omg.CORBA.Object objectReference;

    public AdapterStateless(TSSLink tssLink, ORB orb, POA parentPOA, Policy securityPolicy) throws CORBAException {
        super(tssLink, orb, parentPOA, securityPolicy);
        Any any = orb.create_any();
        any.insert_Value(tssLink.getRemoteTxPolicyConfig());

        try {
            Policy[] policies = new Policy[]{
                securityPolicy,
                orb.create_policy(ServerTransactionPolicyFactory.POLICY_TYPE, any),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.