Package com.sun.corba.se.impl.ior.iiop
Class IIOPProfileTemplateImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.sun.corba.se.impl.ior.FreezableList
com.sun.corba.se.spi.ior.IdentifiableContainerBase
com.sun.corba.se.spi.ior.TaggedProfileTemplateBase
com.sun.corba.se.impl.ior.iiop.IIOPProfileTemplateImpl
- All Implemented Interfaces:
Identifiable,IIOPProfileTemplate,MakeImmutable,TaggedProfileTemplate,Writeable,WriteContents,Iterable,Collection,List
public class IIOPProfileTemplateImpl
extends TaggedProfileTemplateBase
implements IIOPProfileTemplate
- Author:
- If getMinorVersion==0, this does not contain any tagged components
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ObjectKeyTemplate oktemp, ObjectId id) Create a TaggedProfile from this template.booleanReturn the GIOP version of this profile.intgetId()Return the (type) identity of this entity.Return the IIOP address from the IIOP profile.inthashCode()booleanReturn true if temp is equivalent to this template.voidwrite(ObjectKeyTemplate okeyTemplate, ObjectId id, OutputStream os) Write the profile create( oktemp, id ) to the OutputStream os.voidWrite out this IIOPProfileTemplateImpl only.Methods inherited from class com.sun.corba.se.spi.ior.TaggedProfileTemplateBase
getIOPComponents, writeMethods inherited from class com.sun.corba.se.spi.ior.IdentifiableContainerBase
iteratorByIdMethods inherited from class com.sun.corba.se.impl.ior.FreezableList
add, get, isImmutable, makeElementsImmutable, makeImmutable, remove, set, size, subListMethods inherited from class java.util.AbstractList
add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRangeMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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, toArrayMethods inherited from interface com.sun.corba.se.spi.ior.MakeImmutable
makeImmutableMethods inherited from interface com.sun.corba.se.spi.ior.TaggedProfileTemplate
getIOPComponents, iteratorById
-
Constructor Details
-
IIOPProfileTemplateImpl
-
IIOPProfileTemplateImpl
-
-
Method Details
-
equals
- Specified by:
equalsin interfaceCollection- Specified by:
equalsin interfaceList- Overrides:
equalsin classFreezableList
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection- Specified by:
hashCodein interfaceList- Overrides:
hashCodein classFreezableList
-
create
Description copied from interface:TaggedProfileTemplateCreate a TaggedProfile from this template.- Specified by:
createin interfaceTaggedProfileTemplate
-
getGIOPVersion
Description copied from interface:IIOPProfileTemplateReturn the GIOP version of this profile.- Specified by:
getGIOPVersionin interfaceIIOPProfileTemplate
-
getPrimaryAddress
Description copied from interface:IIOPProfileTemplateReturn the IIOP address from the IIOP profile. This is called the primary address here since other addresses may be contained in components.- Specified by:
getPrimaryAddressin interfaceIIOPProfileTemplate
-
write
Description copied from interface:TaggedProfileTemplateWrite the profile create( oktemp, id ) to the OutputStream os.- Specified by:
writein interfaceTaggedProfileTemplate
-
writeContents
Write out this IIOPProfileTemplateImpl only.- Specified by:
writeContentsin interfaceWriteContents
-
getId
public int getId()Description copied from interface:IdentifiableReturn the (type) identity of this entity.- Specified by:
getIdin interfaceIdentifiable- Returns:
- int
-
isEquivalent
Description copied from interface:TaggedProfileTemplateReturn true if temp is equivalent to this template. Equivalence means that in some sense an invocation on a profile created by this template has the same results as an invocation on a profile created from temp. Equivalence may be weaker than equality.- Specified by:
isEquivalentin interfaceTaggedProfileTemplate
-