# Package org.omg.CORBA.portable

Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB.

See: Description

Interface Summary
BoxedValueHelper
CustomValue: An extension of `ValueBase` that is implemented by custom value types.
IDLEntity: An interface with no members whose only purpose is to serve as a marker indicating that an implementing class is a Java value type from IDL that has a corresponding Helper class.
InvokeHandler: This interface provides a dispatching mechanism for an incoming call.
ResponseHandler: This interface is supplied by an ORB to a servant at invocation time and allows the servant to later retrieve an OutputStream for returning the invocation results.
Streamable: The base class for the Holder classess of all complex IDL types.
StreamableValue: Defines the base type for all non-boxed IDL valuetypes that are not custom marshaled.
ValueBase: The generated Java classes corresponding to valuetype IDL types implement this interface.
ValueFactory: The ValueFactory interface is the native mapping for the IDL type CORBA::ValueFactory.
ValueInputStream: Java to IDL ptc 02-01-12 1.5.1.4 ValueInputStream is used for implementing RMI-IIOP stream format version 2.
ValueOutputStream: Java to IDL ptc 02-01-12 1.5.1.3 ValueOutputStream is used for implementing RMI-IIOP stream format version 2.

Class Summary
Delegate: Specifies a portable API for ORB-vendor-specific implementation of the org.omg.CORBA.Object methods.
InputStream: InputStream is the Java API for reading IDL types from CDR marshal streams.
ObjectImpl: The common base class for all stub classes; provides default implementations of the `org.omg.CORBA.Object` methods.
OutputStream: OuputStream is the Java API for writing IDL types to CDR marshal streams.
ServantObject: This class is part of the local stub API, the purpose of which is to provide high performance calls for collocated clients and servers (i.e.

Exception Summary
ApplicationException: This class is used for reporting application level exceptions between ORBs and stubs.
IndirectionException: The Indirection exception is a Java specific system exception.
RemarshalException: This class is used for reporting locate forward exceptions and object forward GIOP messages back to the ORB.
UnknownException: The org.omg.CORBA.portable.UnknownException is used for reporting unknown exceptions between ties and ORBs and between ORBs and stubs.

## Package org.omg.CORBA.portable Description

Provides a portability layer, that is, a set of ORB APIs that makes it possible for code generated by one vendor to run on another vendor's ORB. Stubs and other code, generated either from IDL or interfaces written in the Java programming language, can call into these ORB APIs.

# CORBA Features Throwing NO_IMPLEMENT() Exceptions

Some methods throw NO_IMPLEMENT() exceptions by default, but ORB vendors can override them to provide real implementations. The ORB included in Sun's release of the Java[tm] Platform, Standard Edition 6, includes implementations for the following methods.

## List of Unimplemented Features in Package `org.omg.CORBA.portable`

### Unimplemented Interfaces in package `org.omg.CORBA.portable`

`
- InvokeHandler
- ResponseHandler
`

### Unimplemented Methods in package `org.omg.CORBA.portable`

`
- InputStream
  - public int read()
  - public.math.BigDecimal read_fixed()
  - public org.omg.CORBA.Context read_Context()
  - public org.omg.CORBA.Object read_Object(java.lang.Class clz)
  - public org.omg.CORBA.ORB orb()
- OutputStream
  - public org.omg.CORBA.ORB orb()
  - public void write_Context(org.omg.CORBA.Context ctx, org.omg.CORBA.ContextList contexts)
  - public void write_fixed(java.math.BigDecimal value)
  - public void write(int b)
- Delegate
  - public void releaseReply(org.omg.CORBA.Object self, InputStream input)
  - public InputStream invoke(org.omg.CORBA.Object self, OutputStream output)
  - public OutputStream request(org.omg.CORBA.Object self, String operation, boolean responseExpected)
  - public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object self, org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add)
  - public org.omg.CORBA.DomainManager[] get_domain_managers( org.omg.CORBA.Object self)
  - public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self, int policy_type)
`

Since:
  JDK1.2