Package com.sun.corba.ee.impl.ior
Class GenericTaggedProfile
java.lang.Object
com.sun.corba.ee.impl.ior.GenericIdentifiable
com.sun.corba.ee.impl.ior.GenericTaggedProfile
- All Implemented Interfaces:
Identifiable,MakeImmutable,TaggedProfile,Writeable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGenericTaggedProfile(int id, InputStream is) GenericTaggedProfile(ORB orb, int id, byte[] data) -
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.voidMethods inherited from class com.sun.corba.ee.impl.ior.GenericIdentifiable
equals, getData, getId, hashCode, toString, writeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.corba.ee.spi.ior.Identifiable
getId
-
Field Details
-
orb
-
-
Constructor Details
-
GenericTaggedProfile
-
GenericTaggedProfile
-
-
Method Details
-
getTaggedProfileTemplate
- Specified by:
getTaggedProfileTemplatein interfaceTaggedProfile
-
getObjectId
- Specified by:
getObjectIdin interfaceTaggedProfile
-
getObjectKeyTemplate
- Specified by:
getObjectKeyTemplatein interfaceTaggedProfile
-
getObjectKey
- Specified by:
getObjectKeyin interfaceTaggedProfile
-
isEquivalent
Description copied from interface:TaggedProfileReturn 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() ).- Specified by:
isEquivalentin interfaceTaggedProfile- Parameters:
prof- profile to compare with- Returns:
- true if they are equivalent
-
makeImmutable
public void makeImmutable()- Specified by:
makeImmutablein interfaceMakeImmutable
-
isLocal
public boolean isLocal()Description copied from interface:TaggedProfileReturn true if this TaggedProfile was created in orb. Caches the result.- Specified by:
isLocalin interfaceTaggedProfile- Returns:
- if this TaggedProfile was created in orb
-
getIOPProfile
Description copied from interface:TaggedProfileReturn the TaggedProfile as a CDR encapsulation in the standard format. This is required for Portable interceptors.- Specified by:
getIOPProfilein interfaceTaggedProfile- Returns:
- the tagged profile
-