Class ORBVersionServiceContextImpl
java.lang.Object
com.sun.corba.ee.spi.servicecontext.ServiceContextBase
com.sun.corba.ee.impl.servicecontext.ORBVersionServiceContextImpl
- All Implemented Interfaces:
ORBVersionServiceContext
,ServiceContext
public class ORBVersionServiceContextImpl
extends ServiceContextBase
implements ORBVersionServiceContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.corba.ee.spi.servicecontext.ServiceContext
ServiceContext.Factory
-
Field Summary
FieldsFields inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
in
Fields inherited from interface com.sun.corba.ee.spi.servicecontext.ORBVersionServiceContext
SERVICE_CONTEXT_ID
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class com.sun.corba.ee.spi.servicecontext.ServiceContextBase
write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.sun.corba.ee.spi.servicecontext.ServiceContext
write
-
Field Details
-
version
-
singleton
-
-
Constructor Details
-
ORBVersionServiceContextImpl
public ORBVersionServiceContextImpl() -
ORBVersionServiceContextImpl
-
ORBVersionServiceContextImpl
-
-
Method Details
-
getId
public int getId()Description copied from class:ServiceContextBase
Returns Service context id. Must be overloaded in subclass.- Specified by:
getId
in interfaceServiceContext
- Specified by:
getId
in classServiceContextBase
- Returns:
- context id
-
writeData
Description copied from class:ServiceContextBase
Writes the data used to represent the subclasses service context into an encapsulation stream. Must be overloaded in subclass.- Specified by:
writeData
in classServiceContextBase
- Parameters:
os
- stream to write to- Throws:
SystemException
-
getVersion
- Specified by:
getVersion
in interfaceORBVersionServiceContext
-
toString
- Overrides:
toString
in classServiceContextBase
-