summaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath/ServiceFactory$ServiceIterator.h
blob: 2d532add9950f86a0b31afd8f9f8bb609a6487f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_classpath_ServiceFactory$ServiceIterator__
#define __gnu_classpath_ServiceFactory$ServiceIterator__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace classpath
    {
        class ServiceFactory$ServiceIterator;
    }
  }
  namespace java
  {
    namespace net
    {
        class URL;
    }
    namespace security
    {
        class AccessControlContext;
    }
  }
}

class gnu::classpath::ServiceFactory$ServiceIterator : public ::java::lang::Object
{

public: // actually package-private
  ServiceFactory$ServiceIterator(::java::lang::Class *, ::java::util::Enumeration *, ::java::lang::ClassLoader *, jboolean, ::java::security::AccessControlContext *);
public:
  ::java::lang::Object * next();
  jboolean hasNext();
  void remove();
private:
  ::java::lang::Object * loadNextServiceProvider();
  void advanceReader();
  ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::Object)))) spi;
  ::java::util::Enumeration * urls;
  ::java::lang::ClassLoader * loader;
  ::java::security::AccessControlContext * securityContext;
  ::java::io::BufferedReader * reader;
  ::java::net::URL * currentURL;
  ::java::lang::Object * nextProvider;
  jboolean error;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_classpath_ServiceFactory$ServiceIterator__