1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_beans_beancontext_BeanContextServicesSupport__
|
5 |
|
|
#define __java_beans_beancontext_BeanContextServicesSupport__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/beans/beancontext/BeanContextSupport.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace beans
|
15 |
|
|
{
|
16 |
|
|
namespace beancontext
|
17 |
|
|
{
|
18 |
|
|
class BeanContextChild;
|
19 |
|
|
class BeanContextServiceAvailableEvent;
|
20 |
|
|
class BeanContextServiceProvider;
|
21 |
|
|
class BeanContextServiceRevokedEvent;
|
22 |
|
|
class BeanContextServiceRevokedListener;
|
23 |
|
|
class BeanContextServices;
|
24 |
|
|
class BeanContextServicesListener;
|
25 |
|
|
class BeanContextServicesSupport;
|
26 |
|
|
class BeanContextServicesSupport$BCSSProxyServiceProvider;
|
27 |
|
|
class BeanContextServicesSupport$BCSSServiceProvider;
|
28 |
|
|
class BeanContextSupport$BCSChild;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
class java::beans::beancontext::BeanContextServicesSupport : public ::java::beans::beancontext::BeanContextSupport
|
35 |
|
|
{
|
36 |
|
|
|
37 |
|
|
public:
|
38 |
|
|
BeanContextServicesSupport();
|
39 |
|
|
BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *);
|
40 |
|
|
BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *);
|
41 |
|
|
BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean);
|
42 |
|
|
BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean, jboolean);
|
43 |
|
|
virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *);
|
44 |
|
|
virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *);
|
45 |
|
|
public: // actually protected
|
46 |
|
|
virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean);
|
47 |
|
|
virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *);
|
48 |
|
|
virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *);
|
49 |
|
|
virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *);
|
50 |
|
|
virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *);
|
51 |
|
|
virtual ::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider * createBCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *);
|
52 |
|
|
virtual void fireServiceAdded(::java::beans::beancontext::BeanContextServiceAvailableEvent *);
|
53 |
|
|
virtual void fireServiceAdded(::java::lang::Class *);
|
54 |
|
|
virtual void fireServiceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
|
55 |
|
|
virtual void fireServiceRevoked(::java::lang::Class *, jboolean);
|
56 |
|
|
public:
|
57 |
|
|
virtual ::java::beans::beancontext::BeanContextServices * getBeanContextServicesPeer();
|
58 |
|
|
public: // actually protected
|
59 |
|
|
static ::java::beans::beancontext::BeanContextServicesListener * getChildBeanContextServicesListener(::java::lang::Object *);
|
60 |
|
|
public:
|
61 |
|
|
virtual ::java::util::Iterator * getCurrentServiceClasses();
|
62 |
|
|
virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *);
|
63 |
|
|
virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *);
|
64 |
|
|
virtual jboolean hasService(::java::lang::Class *);
|
65 |
|
|
virtual void initialize();
|
66 |
|
|
public: // actually protected
|
67 |
|
|
virtual void initializeBeanContextResources();
|
68 |
|
|
virtual void releaseBeanContextResources();
|
69 |
|
|
public:
|
70 |
|
|
virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *);
|
71 |
|
|
virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *);
|
72 |
|
|
virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean);
|
73 |
|
|
virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *);
|
74 |
|
|
virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *);
|
75 |
|
|
private:
|
76 |
|
|
static const jlong serialVersionUID = -8494482757288719206LL;
|
77 |
|
|
public: // actually protected
|
78 |
|
|
::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextSupport)))) bcsListeners;
|
79 |
|
|
::java::beans::beancontext::BeanContextServicesSupport$BCSSProxyServiceProvider * proxy;
|
80 |
|
|
jint serializable;
|
81 |
|
|
::java::util::HashMap * services;
|
82 |
|
|
private:
|
83 |
|
|
::java::util::HashMap * serviceUsers;
|
84 |
|
|
::java::util::HashMap * serviceRequests;
|
85 |
|
|
::java::util::HashMap * serviceLeases;
|
86 |
|
|
public:
|
87 |
|
|
static ::java::lang::Class class$;
|
88 |
|
|
};
|
89 |
|
|
|
90 |
|
|
#endif // __java_beans_beancontext_BeanContextServicesSupport__
|