KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > orbutil > RepositoryIdStrings


1 /*
2  * @(#)RepositoryIdStrings.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.orbutil;
9
10 import java.io.Serializable JavaDoc;
11 import com.sun.corba.se.impl.io.TypeMismatchException;
12
13 /**
14  * Factory methods for creating various repository ID strings
15  * and instances.
16  */

17 public interface RepositoryIdStrings
18 {
19     String JavaDoc createForAnyType(Class JavaDoc type);
20     
21     String JavaDoc createForJavaType(Serializable JavaDoc ser)
22         throws TypeMismatchException;
23     
24     String JavaDoc createForJavaType(Class JavaDoc clz)
25         throws TypeMismatchException;
26     
27     String JavaDoc createSequenceRepID(java.lang.Object JavaDoc ser);
28     
29     String JavaDoc createSequenceRepID(java.lang.Class JavaDoc clazz);
30     
31     RepositoryIdInterface getFromString(String JavaDoc repIdString);
32
33     String JavaDoc getClassDescValueRepId();
34     String JavaDoc getWStringValueRepId();
35 }
36
Popular Tags