01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal;
07:
08: /**
09: * A very basic interface for returning oids.
10: *
11: * <p>
12: * <code>getNext()</code>
13: * <code>getNext(String name)</code>
14: * <p>
15: *
16: * @author Dan Ellentuck
17: * @version $Revision: 34810 $
18: */
19: public interface IOIDGenerator {
20: /**
21: * @return java.lang.String
22: * @exception java.lang.Exception The exception description.
23: */
24: public String getNext() throws java.lang.Exception;
25:
26: /**
27: * @param name String
28: * @return java.lang.String
29: * @exception java.lang.Exception
30: */
31: public String getNext(String name) throws java.lang.Exception;
32: }
|