jp.co.nec.orb
クラス OSPORB

jp.co.nec.orb.OSPORB

public class OSPORB


フィールドの概要
static java.util.Vector _orb_pool
          Add ORB instance by ORB.run(), remove by ORB.shutdown()
 java.util.Vector _pi_cri_store
           
 ClientRequestInterceptor[] _pi_cri_tab
           
 java.util.Vector _pi_iori_store
           
 IORInterceptor[] _pi_iori_tab
           
 java.util.Vector _pi_sri_store
           
 ServerRequestInterceptor[] _pi_sri_tab
           
 java.util.Hashtable _policy_factories
           
static boolean _reuse_after_shutdown
           
 boolean _use_pi
           
static jp.co.nec.orb.POACurrentImpl poacurrent
           
 
コンストラクタの概要
OSPORB()
           
 
メソッドの概要
static TSIdentification __get_TSIdentification()
           
static void __set_TransactionCurrent(Object cur)
           
static Policy _create_policy(int policy_type, Any val)
           
 boolean _is_applet()
           
 java.lang.String[] add_user_specified_services(java.lang.String[] lst)
           
static java.lang.String bin_to_hex(java.lang.String app, byte[] bin)
           
 void checkServerLimit()
           
static void checkServerLimitNoOrb()
           
 void connect(Object obj)
           
 TypeCode create_abstract_interface_tc(java.lang.String id, java.lang.String name)
          create abstract_interface typecode
 TypeCode create_alias_tc(java.lang.String id, java.lang.String name, TypeCode original_type)
          create alias typecode
 Any create_any()
          create any implementation class instance
 TypeCode create_array_tc(int length, TypeCode element_type)
          create array typecode
 ContextList create_context_list()
           
 TypeCode create_enum_tc(java.lang.String id, java.lang.String name, java.lang.String[] members)
          create enum typecode
 Environment create_environment()
           
 ExceptionList create_exception_list()
           
 TypeCode create_exception_tc(java.lang.String id, java.lang.String name, StructMember[] members)
          create exception typecode
 TypeCode create_fixed_tc(short digits, short scale)
          create fixed typecode
 TypeCode create_interface_tc(java.lang.String id, java.lang.String name)
          create interface typecode
 NVList create_list(int count)
          create NVList.
 NamedValue create_named_value(java.lang.String name, Any value, int flags)
           
 NVList create_operation_list(Object obj)
           
 NVList create_operation_list(OperationDef oper)
           
 OutputStream create_output_stream()
          create portable OutputStream implementation class instance
 Policy create_policy(int policy_type, Any val)
           
 TypeCode create_recursive_sequence_tc(int bound, int offset)
           
 TypeCode create_recursive_tc(java.lang.String id)
          create recursive typecode
 TypeCode create_sequence_tc(int bound, TypeCode element_type)
          create sequence typecode
 TypeCode create_string_tc(int bound)
          create string typecode
 TypeCode create_struct_tc(java.lang.String id, java.lang.String name, StructMember[] members)
          create struct typecode
 TypeCode create_union_tc(java.lang.String id, java.lang.String name, TypeCode discriminator_type, UnionMember[] members)
          create union typecode
 TypeCode create_value_box_tc(java.lang.String id, java.lang.String name, TypeCode boxed_type)
          create boxvalue typecode
 TypeCode create_value_tc(java.lang.String id, java.lang.String name, short type_modifier, TypeCode concrete_base_type, ValueMember[] members)
          create value typecode
 TypeCode create_wstring_tc(int bound)
          create wstring typecode
 void destroy()
           
 void disconnect(Object obj)
           
 Current get_current()
           
 Context get_default_context()
           
 java.lang.String get_local_host_name()
           
 Oad get_local_oad()
           
 Request get_next_response()
           
 OadJ get_oadj(java.lang.String host)
           
 OadJ get_oadj(java.lang.String host, boolean nocache)
           
 java.lang.String get_own_local_host_name()
           
 TypeCode get_primitive_tc(TCKind tcKind)
          get typecode of primitive type
static Principal get_principal()
          get Principal.
 Object get_value_def(java.lang.String repid)
           
static byte[] getAddress()
           
static jp.co.nec.orb.CodeBaseState getCodeBaseState()
           
 DomainManager[] getDomainManagers()
           
 java.applet.Applet getInitialApplet()
           
static java.lang.String getLibraryVersion()
           
static java.lang.String getLibraryVersionDetail()
           
 jp.co.nec.orb.RootPOA getRootPOA()
           
static jp.co.nec.orb.SSLManage getSSLManage()
           
static ORB getSubORB()
           
static boolean getUseCodeBase()
           
 boolean isManualLaunchServer()
           
 java.lang.String[] list_initial_services()
           
 ValueFactory lookup_value_factory(java.lang.String repositoryID)
           
static java.lang.String makeClassNameFromRepid(java.lang.String repid, java.lang.String additional)
          Class name extract from RepositoryID. for IDL and RMI.
 java.lang.String object_to_string(Object obj)
           
 void perform_work()
           
 boolean poll_next_response()
           
 void register_initial_reference(java.lang.String id, Object obj)
           
 ValueFactory register_value_factory(java.lang.String repositoryID, ValueFactory factory)
           
 Object resolve_initial_references(java.lang.String object_name)
           
 Object resolve_user_specified_initial_services(java.lang.String object_name)
           
 void run()
           
 void send_multiple_requests_deferred(Request[] req)
           
 void send_multiple_requests_oneway(Request[] req)
           
 void set_delegate(java.lang.Object wrapper)
           
 void set_parameters(java.applet.Applet app, java.util.Properties props)
           
 void set_parameters(java.lang.String[] args, java.util.Properties props)
           
static void set_principal(Principal p)
          set Principal.
static void setUseCodeBase(boolean flag)
           
static void setUtilDelegate(jp.co.nec.orb.rmi.UtilDelegateImpl util)
           
 void shutdown(boolean wait_for_completion)
           
 Object string_to_object(java.lang.String str)
           
 void unregister_value_factory(java.lang.String repositoryID)
           
 void upcall(jp.co.nec.orb.Work w)
           
 boolean work_pending()
           
 

フィールドの詳細

_orb_pool

public static java.util.Vector _orb_pool
Add ORB instance by ORB.run(), remove by ORB.shutdown()

poacurrent

public static jp.co.nec.orb.POACurrentImpl poacurrent

_policy_factories

public java.util.Hashtable _policy_factories

_reuse_after_shutdown

public static boolean _reuse_after_shutdown

_use_pi

public boolean _use_pi

_pi_cri_store

public java.util.Vector _pi_cri_store

_pi_sri_store

public java.util.Vector _pi_sri_store

_pi_iori_store

public java.util.Vector _pi_iori_store

_pi_cri_tab

public ClientRequestInterceptor[] _pi_cri_tab

_pi_sri_tab

public ServerRequestInterceptor[] _pi_sri_tab

_pi_iori_tab

public IORInterceptor[] _pi_iori_tab
コンストラクタの詳細

OSPORB

public OSPORB()
メソッドの詳細

getSubORB

public static ORB getSubORB()

setUseCodeBase

public static void setUseCodeBase(boolean flag)

getUseCodeBase

public static boolean getUseCodeBase()

getCodeBaseState

public static jp.co.nec.orb.CodeBaseState getCodeBaseState()

getDomainManagers

public DomainManager[] getDomainManagers()

get_local_host_name

public java.lang.String get_local_host_name()

get_own_local_host_name

public java.lang.String get_own_local_host_name()

get_local_oad

public Oad get_local_oad()

getSSLManage

public static jp.co.nec.orb.SSLManage getSSLManage()

getRootPOA

public jp.co.nec.orb.RootPOA getRootPOA()

getAddress

public static byte[] getAddress()

get_oadj

public OadJ get_oadj(java.lang.String host)

get_oadj

public OadJ get_oadj(java.lang.String host,
                     boolean nocache)

isManualLaunchServer

public boolean isManualLaunchServer()

get_value_def

public Object get_value_def(java.lang.String repid)
                     throws BAD_PARAM

set_parameters

public void set_parameters(java.lang.String[] args,
                           java.util.Properties props)

set_parameters

public void set_parameters(java.applet.Applet app,
                           java.util.Properties props)

checkServerLimitNoOrb

public static void checkServerLimitNoOrb()

checkServerLimit

public void checkServerLimit()

list_initial_services

public java.lang.String[] list_initial_services()

add_user_specified_services

public java.lang.String[] add_user_specified_services(java.lang.String[] lst)

register_initial_reference

public void register_initial_reference(java.lang.String id,
                                       Object obj)
                                throws InvalidName

resolve_initial_references

public Object resolve_initial_references(java.lang.String object_name)
                                  throws InvalidName

resolve_user_specified_initial_services

public Object resolve_user_specified_initial_services(java.lang.String object_name)

bin_to_hex

public static java.lang.String bin_to_hex(java.lang.String app,
                                          byte[] bin)

object_to_string

public java.lang.String object_to_string(Object obj)

string_to_object

public Object string_to_object(java.lang.String str)

create_list

public NVList create_list(int count)
create NVList.
パラメータ:
count - number of NamedValue in NVList

create_operation_list

public NVList create_operation_list(OperationDef oper)

create_operation_list

public NVList create_operation_list(Object obj)

create_named_value

public NamedValue create_named_value(java.lang.String name,
                                     Any value,
                                     int flags)

create_exception_list

public ExceptionList create_exception_list()

create_context_list

public ContextList create_context_list()

get_default_context

public Context get_default_context()

create_environment

public Environment create_environment()

send_multiple_requests_oneway

public void send_multiple_requests_oneway(Request[] req)

send_multiple_requests_deferred

public void send_multiple_requests_deferred(Request[] req)

poll_next_response

public boolean poll_next_response()

get_next_response

public Request get_next_response()
                          throws WrongTransaction

create_struct_tc

public TypeCode create_struct_tc(java.lang.String id,
                                 java.lang.String name,
                                 StructMember[] members)
create struct typecode
パラメータ:
id - struct Repository-ID
name - struct identifier name
members - struct member attributes
戻り値:
typecode for struct

create_union_tc

public TypeCode create_union_tc(java.lang.String id,
                                java.lang.String name,
                                TypeCode discriminator_type,
                                UnionMember[] members)
create union typecode
パラメータ:
id - union Repository-ID
name - union identifier name
discriminator_type - union discriminator typecode
members - union member attributes
戻り値:
typecode for union

create_enum_tc

public TypeCode create_enum_tc(java.lang.String id,
                               java.lang.String name,
                               java.lang.String[] members)
create enum typecode
パラメータ:
id - enum Repository-ID
name - enum identifier name
members - enum label names
戻り値:
typecode for enum

create_alias_tc

public TypeCode create_alias_tc(java.lang.String id,
                                java.lang.String name,
                                TypeCode original_type)
create alias typecode
パラメータ:
id - alias Repository-ID
name - alias identifier name
original_type - alias original typecode
戻り値:
typecode for alias

create_exception_tc

public TypeCode create_exception_tc(java.lang.String id,
                                    java.lang.String name,
                                    StructMember[] members)
create exception typecode
パラメータ:
id - exception Repository-ID
name - exception identifier name
members - exception member attributes
戻り値:
typecode for exception

create_interface_tc

public TypeCode create_interface_tc(java.lang.String id,
                                    java.lang.String name)
create interface typecode
パラメータ:
id - interface Repository-ID
name - interface identifier name
戻り値:
typecode for interface

create_string_tc

public TypeCode create_string_tc(int bound)
create string typecode
パラメータ:
bound - if bounded string, set string length. else if unbounded, set zero(0).
戻り値:
typecode for string

create_wstring_tc

public TypeCode create_wstring_tc(int bound)
create wstring typecode
パラメータ:
bound - if bounded wstring, set wstring length. else if unbounded, set zero(0).
戻り値:
typecode for wstring

create_sequence_tc

public TypeCode create_sequence_tc(int bound,
                                   TypeCode element_type)
create sequence typecode
パラメータ:
bound - if bounded sequence, set string length. else if unbounded, set zero(0).
element_type - sequence element typecode
戻り値:
typecode for sequence

create_recursive_sequence_tc

public TypeCode create_recursive_sequence_tc(int bound,
                                             int offset)

create_array_tc

public TypeCode create_array_tc(int length,
                                TypeCode element_type)
create array typecode
パラメータ:
length - array element count
element_type - array element typecode
戻り値:
typecode for array

create_fixed_tc

public TypeCode create_fixed_tc(short digits,
                                short scale)
create fixed typecode
パラメータ:
digits - number of digits for fixed
scale - scale for fixed
戻り値:
typecode for fixed

create_value_tc

public TypeCode create_value_tc(java.lang.String id,
                                java.lang.String name,
                                short type_modifier,
                                TypeCode concrete_base_type,
                                ValueMember[] members)
create value typecode
パラメータ:
id -  
name -  
type_modifier -  
concrete_base_type -  
members -  
戻り値:
typecode for value

create_value_box_tc

public TypeCode create_value_box_tc(java.lang.String id,
                                    java.lang.String name,
                                    TypeCode boxed_type)
create boxvalue typecode
パラメータ:
id -  
name -  
boxed_type -  
戻り値:
typecode for boxvalue

create_recursive_tc

public TypeCode create_recursive_tc(java.lang.String id)
create recursive typecode
パラメータ:
id -  
戻り値:
typecode for recursive

create_abstract_interface_tc

public TypeCode create_abstract_interface_tc(java.lang.String id,
                                             java.lang.String name)
create abstract_interface typecode
パラメータ:
id -  
name -  
戻り値:
typecode for abstract_interface

get_primitive_tc

public TypeCode get_primitive_tc(TCKind tcKind)
get typecode of primitive type
戻り値:
typecode of primitive type

create_any

public Any create_any()
create any implementation class instance
戻り値:
any implementation class instance

create_output_stream

public OutputStream create_output_stream()
create portable OutputStream implementation class instance
戻り値:
portable OutputStream implementation class instance

connect

public void connect(Object obj)

disconnect

public void disconnect(Object obj)

get_current

public Current get_current()

create_policy

public Policy create_policy(int policy_type,
                            Any val)
                     throws PolicyError

_create_policy

public static Policy _create_policy(int policy_type,
                                    Any val)
                             throws PolicyError

upcall

public void upcall(jp.co.nec.orb.Work w)

work_pending

public boolean work_pending()

perform_work

public void perform_work()

run

public void run()

shutdown

public void shutdown(boolean wait_for_completion)

setUtilDelegate

public static void setUtilDelegate(jp.co.nec.orb.rmi.UtilDelegateImpl util)
パラメータ:
util -  

destroy

public void destroy()

register_value_factory

public ValueFactory register_value_factory(java.lang.String repositoryID,
                                           ValueFactory factory)

lookup_value_factory

public ValueFactory lookup_value_factory(java.lang.String repositoryID)

unregister_value_factory

public void unregister_value_factory(java.lang.String repositoryID)

makeClassNameFromRepid

public static java.lang.String makeClassNameFromRepid(java.lang.String repid,
                                                      java.lang.String additional)
Class name extract from RepositoryID. for IDL and RMI.
パラメータ:
repid - RepositoryID
additional - String add to class name

set_delegate

public void set_delegate(java.lang.Object wrapper)

get_principal

public static Principal get_principal()
get Principal. NEC original
戻り値:
Principal for this thread

set_principal

public static void set_principal(Principal p)
set Principal. NEC original
パラメータ:
p - Principal data for this thread. In ObjectSpinner, Principal create by new operator.

__get_TSIdentification

public static TSIdentification __get_TSIdentification()

__set_TransactionCurrent

public static void __set_TransactionCurrent(Object cur)

_is_applet

public boolean _is_applet()

getInitialApplet

public java.applet.Applet getInitialApplet()

getLibraryVersion

public static java.lang.String getLibraryVersion()

getLibraryVersionDetail

public static java.lang.String getLibraryVersionDetail()