|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.ir.RepositoryID
This class builds CORBA repository IDs from Java classes or class names, or builds Java class names from repository IDs
Constructor Summary | |
---|---|
RepositoryID()
|
Method Summary | |
---|---|
static java.lang.String |
className(java.lang.String repId,
java.lang.ClassLoader loader)
Returns the fully qualified name of the Java class to which the given Repository ID is mapped. |
static java.lang.String |
className(java.lang.String repId,
java.lang.String suffix,
java.lang.ClassLoader loader)
Returns the fully qualified name of the Java class to which the given Repository ID is mapped, with a given suffix appended to the class name. |
static BoxedValueHelper |
createBoxedValueHelper(java.lang.String repId,
java.lang.ClassLoader loader)
Creates a BoxedValueHelper instance for a given repository ID. |
static java.lang.String |
repId(java.lang.Class c)
|
static java.lang.String |
toRepositoryID(java.lang.String className,
boolean resolveClass,
java.lang.ClassLoader loader)
Converts a class name to a Repository ID. |
static java.lang.String |
toRepositoryID(java.lang.String className,
java.lang.ClassLoader loader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RepositoryID()
Method Detail |
public static java.lang.String className(java.lang.String repId, java.lang.ClassLoader loader)
public static java.lang.String className(java.lang.String repId, java.lang.String suffix, java.lang.ClassLoader loader)
public static java.lang.String repId(java.lang.Class c)
public static java.lang.String toRepositoryID(java.lang.String className, boolean resolveClass, java.lang.ClassLoader loader)
resolveClass
- indicates whether the method should try to
resolve and load the class. If true and the class could
not be loaded, an IllegalArgumentException will be thrownpublic static java.lang.String toRepositoryID(java.lang.String className, java.lang.ClassLoader loader)
public static BoxedValueHelper createBoxedValueHelper(java.lang.String repId, java.lang.ClassLoader loader)
repId
- the repository ID of the boxed value type
java.lang.RuntimeException
- if creation of the Helper instance fails
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |