Package com.sun.corba.ee.impl.ior
Class IORTemplateImpl
- All Implemented Interfaces:
IORFactory
,IORTemplate
,MakeImmutable
,Writeable
,Iterable<TaggedProfileTemplate>
,Collection<TaggedProfileTemplate>
,List<TaggedProfileTemplate>
public class IORTemplateImpl
extends IdentifiableContainerBase<TaggedProfileTemplate>
implements IORTemplate
This class is a container of TaggedProfileTemplates.
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isEquivalent
(IORFactory other) Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.void
Ensure that this IORTemplate and all of its profiles can not be modified.Construct an IOR containing the given ORB, typeid, and ObjectId.toString()
void
write
(OutputStream os) Write this object directly to the output stream.Methods inherited from class com.sun.corba.ee.spi.ior.IdentifiableContainerBase
iteratorById
Methods inherited from class com.sun.corba.ee.impl.ior.FreezableList
add, get, isImmutable, makeElementsImmutable, remove, set, size, subList
Methods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface com.sun.corba.ee.spi.ior.IORTemplate
iteratorById
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
oktemp
-
-
Constructor Details
-
IORTemplateImpl
-
IORTemplateImpl
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractCollection<TaggedProfileTemplate>
-
equals
- Specified by:
equals
in interfaceCollection<TaggedProfileTemplate>
- Specified by:
equals
in interfaceList<TaggedProfileTemplate>
- Overrides:
equals
in classFreezableList<TaggedProfileTemplate>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<TaggedProfileTemplate>
- Specified by:
hashCode
in interfaceList<TaggedProfileTemplate>
- Overrides:
hashCode
in classFreezableList<TaggedProfileTemplate>
-
getObjectKeyTemplate
- Specified by:
getObjectKeyTemplate
in interfaceIORTemplate
-
makeIOR
Description copied from interface:IORFactory
Construct an IOR containing the given ORB, typeid, and ObjectId. The same ObjectId will be used for all TaggedProfileTemplates in the IORFactory.- Specified by:
makeIOR
in interfaceIORFactory
- Parameters:
orb
- ORB to usetypeid
- typeid of IORoid
- objectId IOR- Returns:
- created IOR
-
isEquivalent
Description copied from interface:IORFactory
Return true iff this.makeIOR(orb,typeid,oid).isEquivalent( other.makeIOR(orb,typeid,oid) for all orb, typeid, and oid.- Specified by:
isEquivalent
in interfaceIORFactory
- Parameters:
other
- factory to compare with- Returns:
- true if they are equivalent
-
makeImmutable
public void makeImmutable()Ensure that this IORTemplate and all of its profiles can not be modified. This overrides the method inherited from FreezableList through IdentifiableContainerBase.- Specified by:
makeImmutable
in interfaceMakeImmutable
- Overrides:
makeImmutable
in classFreezableList<TaggedProfileTemplate>
-
write
Description copied from interface:Writeable
Write this object directly to the output stream.
-