Class ServiceContextsImpl
java.lang.Object
com.sun.corba.ee.impl.servicecontext.ServiceContextsImpl
- All Implemented Interfaces:
ServiceContexts
-
Constructor Summary
ConstructorsConstructorDescriptionServiceContextsImpl(ORB orb) Read the Service contexts from the input stream. -
Method Summary
Modifier and TypeMethodDescriptioncopy()send back a shallow copy of the ServiceContexts containervoiddelete(int scId) Remove the service context with the id, if any.get(int id) Return the service context with scId, or null if not found.voidput(ServiceContext sc) Add a service context.voidwrite(OutputStream os, GIOPVersion gv) Write the service contexts to the output stream.
-
Constructor Details
-
ServiceContextsImpl
-
ServiceContextsImpl
Read the Service contexts from the input stream.- Parameters:
s- Stream to get context from
-
-
Method Details
-
write
Write the service contexts to the output stream. If they haven't been unmarshaled, we don't have to unmarshal them.- Specified by:
writein interfaceServiceContexts- Parameters:
os- stream to write togv- version to use
-
put
Description copied from interface:ServiceContextsAdd a service context. Silently replaces an existing service context with the same id.- Specified by:
putin interfaceServiceContexts- Parameters:
sc- service context to use
-
delete
public void delete(int scId) Description copied from interface:ServiceContextsRemove the service context with the id, if any.- Specified by:
deletein interfaceServiceContexts- Parameters:
scId- service context id
-
get
Description copied from interface:ServiceContextsReturn the service context with scId, or null if not found.- Specified by:
getin interfaceServiceContexts- Parameters:
id- service context id- Returns:
- ServiceContext with the specified ID
-
copy
send back a shallow copy of the ServiceContexts container- Specified by:
copyin interfaceServiceContexts
-