2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_imageio_spi_ServiceRegistry__
5 #define __javax_imageio_spi_ServiceRegistry__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
20 class ServiceRegistry
;
21 class ServiceRegistry$Filter
;
27 class javax::imageio::spi::ServiceRegistry
: public ::java::lang::Object
31 ServiceRegistry(::java::util::Iterator
*);
32 static ::java::util::Iterator
* lookupProviders(::java::lang::Class
*, ::java::lang::ClassLoader
*);
33 static ::java::util::Iterator
* lookupProviders(::java::lang::Class
*);
34 virtual ::java::util::Iterator
* getCategories();
36 jboolean
registerServiceProvider(::java::lang::Object
*, jint
);
38 virtual jboolean
registerServiceProvider(::java::lang::Object
*, ::java::lang::Class
*);
39 virtual void registerServiceProvider(::java::lang::Object
*);
40 virtual void registerServiceProviders(::java::util::Iterator
*);
42 jboolean
deregisterServiceProvider(::java::lang::Object
*, jint
);
44 virtual jboolean
deregisterServiceProvider(::java::lang::Object
*, ::java::lang::Class
*);
45 virtual void deregisterServiceProvider(::java::lang::Object
*);
46 virtual void deregisterAll(::java::lang::Class
*);
47 virtual void deregisterAll();
48 virtual void finalize();
49 virtual jboolean
contains(::java::lang::Object
*);
51 jint
getCategoryID(::java::lang::Class
*);
53 virtual ::java::util::Iterator
* getServiceProviders(::java::lang::Class
*, jboolean
);
54 virtual ::java::util::Iterator
* getServiceProviders(::java::lang::Class
*, ::javax::imageio::spi::ServiceRegistry$Filter
*, jboolean
);
55 virtual ::java::lang::Object
* getServiceProviderByClass(::java::lang::Class
*);
56 virtual jboolean
setOrdering(::java::lang::Class
*, ::java::lang::Object
*, ::java::lang::Object
*);
57 virtual jboolean
unsetOrdering(::java::lang::Class
*, ::java::lang::Object
*, ::java::lang::Object
*);
59 jboolean
addConstraint(jint
, ::java::lang::Object
*, ::java::lang::Object
*);
60 jboolean
removeConstraint(jint
, ::java::lang::Object
*, ::java::lang::Object
*);
61 public: // actually package-private
62 JArray
< ::java::lang::Class
* > * __attribute__((aligned(__alignof__( ::java::lang::Object
)))) categories
;
64 JArray
< ::java::util::LinkedList
* > * providers
;
65 JArray
< ::java::util::IdentityHashMap
* > * constraints
;
67 static ::java::lang::Class
class$
;
70 #endif // __javax_imageio_spi_ServiceRegistry__