summaryrefslogtreecommitdiff
path: root/libjava/javax/naming/event/NamingEvent.h
blob: aad8b0e058de38a17fb345dd0a77be42283b319a (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_naming_event_NamingEvent__
#define __javax_naming_event_NamingEvent__

#pragma interface

#include <java/util/EventObject.h>
extern "Java"
{
  namespace javax
  {
    namespace naming
    {
        class Binding;
      namespace event
      {
          class EventContext;
          class NamingEvent;
          class NamingListener;
      }
    }
  }
}

class javax::naming::event::NamingEvent : public ::java::util::EventObject
{

public:
  NamingEvent(::javax::naming::event::EventContext *, jint, ::javax::naming::Binding *, ::javax::naming::Binding *, ::java::lang::Object *);
  virtual jint getType();
  virtual ::javax::naming::event::EventContext * getEventContext();
  virtual ::javax::naming::Binding * getOldBinding();
  virtual ::javax::naming::Binding * getNewBinding();
  virtual ::java::lang::Object * getChangeInfo();
  virtual void dispatch(::javax::naming::event::NamingListener *);
private:
  static const jlong serialVersionUID = -7126752885365133499LL;
public:
  static const jint OBJECT_ADDED = 0;
  static const jint OBJECT_REMOVED = 1;
  static const jint OBJECT_RENAMED = 2;
  static const jint OBJECT_CHANGED = 3;
public: // actually protected
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) changeInfo;
  jint type;
  ::javax::naming::Binding * oldBinding;
  ::javax::naming::Binding * newBinding;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_naming_event_NamingEvent__