Package com.sun.corba.se.spi.ior
Interface TaggedProfile
- All Superinterfaces:
Identifiable,MakeImmutable,Writeable
- All Known Subinterfaces:
IIOPProfile
- All Known Implementing Classes:
GenericTaggedProfile,IIOPProfileImpl
TaggedProfile represents a tagged profile in an IOR.
A profile contains all of the information necessary for an invocation.
It contains one or more endpoints that may be used for an invocation.
A TaggedProfile conceptually has three parts: A TaggedProfileTemplate,
an ObjectKeyTemplate, and an ObjectId.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the TaggedProfile as a CDR encapsulation in the standard format.booleanisEquivalent(TaggedProfile prof) Return true is prof is equivalent to this TaggedProfile.booleanisLocal()Return true if this TaggedProfile was created in orb.Methods inherited from interface com.sun.corba.se.spi.ior.Identifiable
getIdMethods inherited from interface com.sun.corba.se.spi.ior.MakeImmutable
makeImmutable
-
Method Details
-
getTaggedProfileTemplate
TaggedProfileTemplate getTaggedProfileTemplate() -
getObjectId
ObjectId getObjectId() -
getObjectKeyTemplate
ObjectKeyTemplate getObjectKeyTemplate() -
getObjectKey
ObjectKey getObjectKey() -
isEquivalent
Return true is prof is equivalent to this TaggedProfile. This means that this and prof are indistinguishable for the purposes of remote invocation. Typically this means that the profile data is identical and both profiles contain exactly the same components (if components are applicable). isEquivalent( prof ) should imply that getObjectId().equals( prof.getObjectId() ) is true, and so is getObjectKeyTemplate().equals( prof.getObjectKeyTemplate() ). -
getIOPProfile
TaggedProfile getIOPProfile()Return the TaggedProfile as a CDR encapsulation in the standard format. This is required for Portable interceptors. -
isLocal
boolean isLocal()Return true if this TaggedProfile was created in orb. Caches the result.
-