Package com.sun.corba.ee.impl.misc
Class RepIdDelegator
- java.lang.Object
-
- com.sun.corba.ee.impl.misc.RepIdDelegator
-
- All Implemented Interfaces:
RepositoryIdInterface
,RepositoryIdStrings
,RepositoryIdUtility
public final class RepIdDelegator extends java.lang.Object implements RepositoryIdStrings, RepositoryIdUtility, RepositoryIdInterface
Delegates to the current RepositoryId implementation in com.sun.corba.ee.impl.util. This is necessary to overcome the fact that many of RepositoryId's methods are static.
-
-
Field Summary
Fields Modifier and Type Field Description private RepositoryId
delegate
-
Fields inherited from interface com.sun.corba.ee.impl.misc.RepositoryIdUtility
NO_TYPE_INFO, PARTIAL_LIST_TYPE_INFO, SINGLE_REP_TYPE_INFO
-
-
Constructor Summary
Constructors Modifier Constructor Description RepIdDelegator()
private
RepIdDelegator(RepositoryId _delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
createForAnyType(java.lang.Class type)
java.lang.String
createForAnyType(java.lang.Class type, ClassInfoCache.ClassInfo cinfo)
java.lang.String
createForJavaType(java.io.Serializable ser)
java.lang.String
createForJavaType(java.lang.Class clz)
java.lang.String
createForJavaType(java.lang.Class clz, ClassInfoCache.ClassInfo cinfo)
java.lang.String
createSequenceRepID(java.lang.Class clazz)
java.lang.String
createSequenceRepID(java.lang.Object ser)
boolean
equals(java.lang.Object obj)
java.lang.String
getClassDescValueRepId()
java.lang.Class
getClassFromType()
java.lang.Class
getClassFromType(java.lang.Class expectedType, java.lang.String codebaseURL)
java.lang.Class
getClassFromType(java.lang.String codebaseURL)
java.lang.String
getClassName()
int
getCodeBaseRMIChunkedId()
int
getCodeBaseRMIChunkedNoRepStrId()
int
getCodeBaseRMIUnchunkedId()
int
getCodeBaseRMIUnchunkedNoRepStrId()
RepositoryIdInterface
getFromString(java.lang.String repIdString)
int
getStandardRMIChunkedId()
int
getStandardRMIChunkedNoRepStrId()
int
getStandardRMIUnchunkedId()
int
getStandardRMIUnchunkedNoRepStrId()
int
getTypeInfo(int valueTag)
java.lang.String
getWStringValueRepId()
int
hashCode()
boolean
isChunkedEncoding(int valueTag)
boolean
isCodeBasePresent(int valueTag)
java.lang.String
toString()
-
-
-
Field Detail
-
delegate
private RepositoryId delegate
-
-
Constructor Detail
-
RepIdDelegator
public RepIdDelegator()
-
RepIdDelegator
private RepIdDelegator(RepositoryId _delegate)
-
-
Method Detail
-
createForAnyType
public java.lang.String createForAnyType(java.lang.Class type)
- Specified by:
createForAnyType
in interfaceRepositoryIdStrings
-
createForAnyType
public java.lang.String createForAnyType(java.lang.Class type, ClassInfoCache.ClassInfo cinfo)
- Specified by:
createForAnyType
in interfaceRepositoryIdStrings
-
createForJavaType
public java.lang.String createForJavaType(java.io.Serializable ser) throws TypeMismatchException
- Specified by:
createForJavaType
in interfaceRepositoryIdStrings
- Throws:
TypeMismatchException
-
createForJavaType
public java.lang.String createForJavaType(java.lang.Class clz) throws TypeMismatchException
- Specified by:
createForJavaType
in interfaceRepositoryIdStrings
- Throws:
TypeMismatchException
-
createForJavaType
public java.lang.String createForJavaType(java.lang.Class clz, ClassInfoCache.ClassInfo cinfo) throws TypeMismatchException
- Specified by:
createForJavaType
in interfaceRepositoryIdStrings
- Throws:
TypeMismatchException
-
createSequenceRepID
public java.lang.String createSequenceRepID(java.lang.Object ser)
- Specified by:
createSequenceRepID
in interfaceRepositoryIdStrings
-
createSequenceRepID
public java.lang.String createSequenceRepID(java.lang.Class clazz)
- Specified by:
createSequenceRepID
in interfaceRepositoryIdStrings
-
getFromString
public RepositoryIdInterface getFromString(java.lang.String repIdString)
- Specified by:
getFromString
in interfaceRepositoryIdStrings
-
isChunkedEncoding
public boolean isChunkedEncoding(int valueTag)
- Specified by:
isChunkedEncoding
in interfaceRepositoryIdUtility
-
isCodeBasePresent
public boolean isCodeBasePresent(int valueTag)
- Specified by:
isCodeBasePresent
in interfaceRepositoryIdUtility
-
getClassDescValueRepId
public java.lang.String getClassDescValueRepId()
- Specified by:
getClassDescValueRepId
in interfaceRepositoryIdStrings
-
getWStringValueRepId
public java.lang.String getWStringValueRepId()
- Specified by:
getWStringValueRepId
in interfaceRepositoryIdStrings
-
getTypeInfo
public int getTypeInfo(int valueTag)
- Specified by:
getTypeInfo
in interfaceRepositoryIdUtility
-
getStandardRMIChunkedNoRepStrId
public int getStandardRMIChunkedNoRepStrId()
- Specified by:
getStandardRMIChunkedNoRepStrId
in interfaceRepositoryIdUtility
-
getCodeBaseRMIChunkedNoRepStrId
public int getCodeBaseRMIChunkedNoRepStrId()
- Specified by:
getCodeBaseRMIChunkedNoRepStrId
in interfaceRepositoryIdUtility
-
getStandardRMIChunkedId
public int getStandardRMIChunkedId()
- Specified by:
getStandardRMIChunkedId
in interfaceRepositoryIdUtility
-
getCodeBaseRMIChunkedId
public int getCodeBaseRMIChunkedId()
- Specified by:
getCodeBaseRMIChunkedId
in interfaceRepositoryIdUtility
-
getStandardRMIUnchunkedId
public int getStandardRMIUnchunkedId()
- Specified by:
getStandardRMIUnchunkedId
in interfaceRepositoryIdUtility
-
getCodeBaseRMIUnchunkedId
public int getCodeBaseRMIUnchunkedId()
- Specified by:
getCodeBaseRMIUnchunkedId
in interfaceRepositoryIdUtility
-
getStandardRMIUnchunkedNoRepStrId
public int getStandardRMIUnchunkedNoRepStrId()
- Specified by:
getStandardRMIUnchunkedNoRepStrId
in interfaceRepositoryIdUtility
-
getCodeBaseRMIUnchunkedNoRepStrId
public int getCodeBaseRMIUnchunkedNoRepStrId()
- Specified by:
getCodeBaseRMIUnchunkedNoRepStrId
in interfaceRepositoryIdUtility
-
getClassFromType
public java.lang.Class getClassFromType() throws java.lang.ClassNotFoundException
- Specified by:
getClassFromType
in interfaceRepositoryIdInterface
- Throws:
java.lang.ClassNotFoundException
-
getClassFromType
public java.lang.Class getClassFromType(java.lang.String codebaseURL) throws java.lang.ClassNotFoundException, java.net.MalformedURLException
- Specified by:
getClassFromType
in interfaceRepositoryIdInterface
- Throws:
java.lang.ClassNotFoundException
java.net.MalformedURLException
-
getClassFromType
public java.lang.Class getClassFromType(java.lang.Class expectedType, java.lang.String codebaseURL) throws java.lang.ClassNotFoundException, java.net.MalformedURLException
- Specified by:
getClassFromType
in interfaceRepositoryIdInterface
- Throws:
java.lang.ClassNotFoundException
java.net.MalformedURLException
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interfaceRepositoryIdInterface
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-