1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.ldap.server.schema.bootstrap;
18
19
20 import javax.naming.NamingException;
21
22
23 /***
24 * A BootstrapProducer's callback used to announce object creation.
25 *
26 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
27 * @version $Rev: 264732 $
28 */
29 public interface ProducerCallback
30 {
31 /***
32 * Called to announce the creation of a new schema object by a producer.
33 *
34 * @param producer the producer which created the object
35 * @param registryKey used to uniquely identify the object in registries
36 * @param schemaObject the object that was created by the producer
37 * @throws NamingException if there are problems registering these objects
38 * with bootstrap registries
39 */
40 void schemaObjectProduced( BootstrapProducer producer,
41 String registryKey, Object schemaObject )
42 throws NamingException;
43 }