1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_beans_beancontext_BeanContextServices__
|
5 |
|
|
#define __java_beans_beancontext_BeanContextServices__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace beans
|
17 |
|
|
{
|
18 |
|
|
class PropertyChangeListener;
|
19 |
|
|
class VetoableChangeListener;
|
20 |
|
|
namespace beancontext
|
21 |
|
|
{
|
22 |
|
|
class BeanContext;
|
23 |
|
|
class BeanContextChild;
|
24 |
|
|
class BeanContextMembershipListener;
|
25 |
|
|
class BeanContextServiceAvailableEvent;
|
26 |
|
|
class BeanContextServiceProvider;
|
27 |
|
|
class BeanContextServiceRevokedEvent;
|
28 |
|
|
class BeanContextServiceRevokedListener;
|
29 |
|
|
class BeanContextServices;
|
30 |
|
|
class BeanContextServicesListener;
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
namespace net
|
34 |
|
|
{
|
35 |
|
|
class URL;
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
class java::beans::beancontext::BeanContextServices : public ::java::lang::Object
|
41 |
|
|
{
|
42 |
|
|
|
43 |
|
|
public:
|
44 |
|
|
virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *) = 0;
|
45 |
|
|
virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean) = 0;
|
46 |
|
|
virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *) = 0;
|
47 |
|
|
virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *) = 0;
|
48 |
|
|
virtual ::java::util::Iterator * getCurrentServiceClasses() = 0;
|
49 |
|
|
virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *) = 0;
|
50 |
|
|
virtual jboolean hasService(::java::lang::Class *) = 0;
|
51 |
|
|
virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0;
|
52 |
|
|
virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0;
|
53 |
|
|
virtual ::java::lang::Object * instantiateChild(::java::lang::String *) = 0;
|
54 |
|
|
virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
|
55 |
|
|
virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0;
|
56 |
|
|
virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
|
57 |
|
|
virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0;
|
58 |
|
|
virtual jboolean add(::java::lang::Object *) = 0;
|
59 |
|
|
virtual jboolean addAll(::java::util::Collection *) = 0;
|
60 |
|
|
virtual void clear() = 0;
|
61 |
|
|
virtual jboolean contains(::java::lang::Object *) = 0;
|
62 |
|
|
virtual jboolean containsAll(::java::util::Collection *) = 0;
|
63 |
|
|
virtual jboolean isEmpty() = 0;
|
64 |
|
|
virtual ::java::util::Iterator * iterator() = 0;
|
65 |
|
|
virtual jboolean remove(::java::lang::Object *) = 0;
|
66 |
|
|
virtual jboolean removeAll(::java::util::Collection *) = 0;
|
67 |
|
|
virtual jboolean retainAll(::java::util::Collection *) = 0;
|
68 |
|
|
virtual jint size() = 0;
|
69 |
|
|
virtual JArray< ::java::lang::Object * > * toArray() = 0;
|
70 |
|
|
virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0;
|
71 |
|
|
virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0;
|
72 |
|
|
virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0;
|
73 |
|
|
virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
|
74 |
|
|
virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0;
|
75 |
|
|
virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
|
76 |
|
|
virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0;
|
77 |
|
|
virtual jboolean needsGui() = 0;
|
78 |
|
|
virtual jboolean avoidingGui() = 0;
|
79 |
|
|
virtual void dontUseGui() = 0;
|
80 |
|
|
virtual void okToUseGui() = 0;
|
81 |
|
|
virtual void setDesignTime(jboolean) = 0;
|
82 |
|
|
virtual jboolean isDesignTime() = 0;
|
83 |
|
|
virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *) = 0;
|
84 |
|
|
virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0;
|
85 |
|
|
static ::java::lang::Class class$;
|
86 |
|
|
} __attribute__ ((java_interface));
|
87 |
|
|
|
88 |
|
|
#endif // __java_beans_beancontext_BeanContextServices__
|