gnu.CORBA.DynAn

Class gnuDynAnyFactory

Implemented Interfaces:
DynAnyFactory, DynAnyFactoryOperations, IDLEntity, Object, Serializable

public class gnuDynAnyFactory
extends LocalObject
implements DynAnyFactory

This class is returned by ORB when resolving initial reference "DynAnyFactory".

Constructor Summary

gnuDynAnyFactory(ORB_1_4 anOrb)
Create a new factory, specifying the ORB to that the factory belongs.

Method Summary

DynAny
create_alias(TypeCode official, TypeCode type)
Create alias.
DynArray
create_array(TypeCode official, TypeCode type)
Create an initialised array.
DynAny
create_dyn_any(Any value)
Create the DynAny using the passed value as template and assign this value.
DynAny
create_dyn_any_from_type_code(TypeCode type)
Create the DynAny from typecode.
DynAny
create_dyn_any_from_type_code(TypeCode official, TypeCode type)
Create the DynAny from typecode.
DynEnum
create_enumeration(TypeCode official, TypeCode type)
Create enumeration.
DynFixed
create_fixed(TypeCode official, TypeCode type)
Create fixed.
DynSequence
create_sequence(TypeCode official, TypeCode type)
Create an empty sequence.
DynAny
create_simple(TypeCode official, TypeCode type)
Create the undivideable DynAny.
DynStruct
create_structure(TypeCode official, TypeCode type)
Create structure.
DynUnion
create_union(TypeCode official, TypeCode type)
Create union.
DynValue
create_value(TypeCode official, TypeCode type)
Create value.
DynValueBox
create_value_box(TypeCode official, TypeCode type)
Create value box.
ORB_1_4
getOrb()
Get the orb.

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _set_policy_override, validate_connection

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

gnuDynAnyFactory

public gnuDynAnyFactory(ORB_1_4 anOrb)
Create a new factory, specifying the ORB to that the factory belongs.
Parameters:
anOrb -

Method Details

create_alias

public DynAny create_alias(TypeCode official,
                           TypeCode type)
            throws InconsistentTypeCode
Create alias.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_array

public DynArray create_array(TypeCode official,
                             TypeCode type)
Create an initialised array.

create_dyn_any

public DynAny create_dyn_any(Any value)
            throws InconsistentTypeCode
Create the DynAny using the passed value as template and assign this value.
Specified by:
create_dyn_any in interface DynAnyFactoryOperations

create_dyn_any_from_type_code

public DynAny create_dyn_any_from_type_code(TypeCode type)
            throws InconsistentTypeCode
Create the DynAny from typecode.
Specified by:
create_dyn_any_from_type_code in interface DynAnyFactoryOperations

create_dyn_any_from_type_code

public DynAny create_dyn_any_from_type_code(TypeCode official,
                                            TypeCode type)
            throws InconsistentTypeCode
Create the DynAny from typecode.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_enumeration

public DynEnum create_enumeration(TypeCode official,
                                  TypeCode type)
Create enumeration.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_fixed

public DynFixed create_fixed(TypeCode official,
                             TypeCode type)
Create fixed.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_sequence

public DynSequence create_sequence(TypeCode official,
                                   TypeCode type)
Create an empty sequence.

create_simple

public DynAny create_simple(TypeCode official,
                            TypeCode type)
Create the undivideable DynAny.

create_structure

public DynStruct create_structure(TypeCode official,
                                  TypeCode type)
Create structure.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_union

public DynUnion create_union(TypeCode official,
                             TypeCode type)
Create union.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_value

public DynValue create_value(TypeCode official,
                             TypeCode type)
Create value.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

create_value_box

public DynValueBox create_value_box(TypeCode official,
                                    TypeCode type)
Create value box.
Parameters:
official - the type that was originally passed as a parameter by user. May be alias of some other type.
type - the type into that the "official type" evaluates during alias resolving. Initially equal to "official type".

getOrb

public ORB_1_4 getOrb()
Get the orb.

gnuDynAnyFactory.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.