Package com.sun.corba.se.impl.ior.iiop
Class IIOPProfileImpl
java.lang.Object
com.sun.corba.se.spi.ior.IdentifiableBase
com.sun.corba.se.impl.ior.iiop.IIOPProfileImpl
- All Implemented Interfaces:
Identifiable,IIOPProfile,MakeImmutable,TaggedProfile,Writeable,WriteContents
- Author:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIIOPProfileImpl(ORB orb, ObjectKeyTemplate oktemp, ObjectId oid, IIOPProfileTemplate proftemp) IIOPProfileImpl(ORB orb, TaggedProfile profile) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the Codebase of this profile.Return GIOPVersion for this IOR.intgetId()Return the (type) identity of this entity.Return the TaggedProfile as a CDR encapsulation in the standard format.Return the servant for this IOR, if it is local AND if the OA that implements this objref supports direct access to servants outside of an invocation.inthashCode()booleanisEquivalent(TaggedProfile prof) Return true is prof is equivalent to this TaggedProfile.booleanisLocal()Return true if this TaggedProfile was created in orb.voidvoidMethods inherited from class com.sun.corba.se.spi.ior.IdentifiableBase
write
-
Field Details
-
codebase
-
cachedCodebase
protected boolean cachedCodebase
-
-
Constructor Details
-
IIOPProfileImpl
public IIOPProfileImpl(ORB orb, ObjectKeyTemplate oktemp, ObjectId oid, IIOPProfileTemplate proftemp) -
IIOPProfileImpl
-
IIOPProfileImpl
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getObjectId
- Specified by:
getObjectIdin interfaceTaggedProfile
-
getTaggedProfileTemplate
- Specified by:
getTaggedProfileTemplatein interfaceTaggedProfile
-
getObjectKeyTemplate
- Specified by:
getObjectKeyTemplatein interfaceTaggedProfile
-
writeContents
- 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: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
-
getObjectKey
- Specified by:
getObjectKeyin interfaceTaggedProfile
-
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
-
getCodebase
Description copied from interface:IIOPProfileReturn the Codebase of this profile. Caches the result.- Specified by:
getCodebasein interfaceIIOPProfile
-
getORBVersion
- Specified by:
getORBVersionin interfaceIIOPProfile- Returns:
- the ORBVersion associated with the object key in the IOR.
-
isLocal
public boolean isLocal()Description copied from interface:TaggedProfileReturn true if this TaggedProfile was created in orb. Caches the result.- Specified by:
isLocalin interfaceTaggedProfile
-
getServant
Return the servant for this IOR, if it is local AND if the OA that implements this objref supports direct access to servants outside of an invocation. XXX revisit: do we want this at all? If we do, it might move to the ObjectKeyTemplate instead.- Specified by:
getServantin interfaceIIOPProfile
-
getGIOPVersion
Return GIOPVersion for this IOR. Requests created against this IOR will be of the return Version.- Specified by:
getGIOPVersionin interfaceIIOPProfile
-
makeImmutable
public void makeImmutable()- Specified by:
makeImmutablein interfaceMakeImmutable
-