diff options
Diffstat (limited to 'libjava/java/beans/beancontext')
26 files changed, 1285 insertions, 0 deletions
diff --git a/libjava/java/beans/beancontext/BeanContext.h b/libjava/java/beans/beancontext/BeanContext.h new file mode 100644 index 000000000..e9935e0ea --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContext.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContext__ +#define __java_beans_beancontext_BeanContext__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + class VetoableChangeListener; + namespace beancontext + { + class BeanContext; + class BeanContextChild; + class BeanContextMembershipListener; + } + } + namespace net + { + class URL; + } + } +} + +class java::beans::beancontext::BeanContext : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * instantiateChild(::java::lang::String *) = 0; + virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0; + virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0; + virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0; + virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0; + virtual jboolean add(::java::lang::Object *) = 0; + virtual jboolean addAll(::java::util::Collection *) = 0; + virtual void clear() = 0; + virtual jboolean contains(::java::lang::Object *) = 0; + virtual jboolean containsAll(::java::util::Collection *) = 0; + virtual jboolean isEmpty() = 0; + virtual ::java::util::Iterator * iterator() = 0; + virtual jboolean remove(::java::lang::Object *) = 0; + virtual jboolean removeAll(::java::util::Collection *) = 0; + virtual jboolean retainAll(::java::util::Collection *) = 0; + virtual jint size() = 0; + virtual JArray< ::java::lang::Object * > * toArray() = 0; + virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0; + virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0; + virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0; + virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + virtual jboolean needsGui() = 0; + virtual jboolean avoidingGui() = 0; + virtual void dontUseGui() = 0; + virtual void okToUseGui() = 0; + virtual void setDesignTime(jboolean) = 0; + virtual jboolean isDesignTime() = 0; + static ::java::lang::Object * globalHierarchyLock; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContext__ diff --git a/libjava/java/beans/beancontext/BeanContextChild.h b/libjava/java/beans/beancontext/BeanContextChild.h new file mode 100644 index 000000000..0e1c8685f --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextChild.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextChild__ +#define __java_beans_beancontext_BeanContextChild__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + class VetoableChangeListener; + namespace beancontext + { + class BeanContext; + class BeanContextChild; + } + } + } +} + +class java::beans::beancontext::BeanContextChild : public ::java::lang::Object +{ + +public: + virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0; + virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0; + virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextChild__ diff --git a/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h b/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h new file mode 100644 index 000000000..7e515669f --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextChildComponentProxy.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextChildComponentProxy__ +#define __java_beans_beancontext_BeanContextChildComponentProxy__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Component; + } + namespace beans + { + namespace beancontext + { + class BeanContextChildComponentProxy; + } + } + } +} + +class java::beans::beancontext::BeanContextChildComponentProxy : public ::java::lang::Object +{ + +public: + virtual ::java::awt::Component * getComponent() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextChildComponentProxy__ diff --git a/libjava/java/beans/beancontext/BeanContextChildSupport.h b/libjava/java/beans/beancontext/BeanContextChildSupport.h new file mode 100644 index 000000000..646217b30 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextChildSupport.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextChildSupport__ +#define __java_beans_beancontext_BeanContextChildSupport__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + class PropertyChangeSupport; + class VetoableChangeListener; + class VetoableChangeSupport; + namespace beancontext + { + class BeanContext; + class BeanContextChild; + class BeanContextChildSupport; + class BeanContextServiceAvailableEvent; + class BeanContextServiceRevokedEvent; + } + } + } +} + +class java::beans::beancontext::BeanContextChildSupport : public ::java::lang::Object +{ + +public: + BeanContextChildSupport(); + BeanContextChildSupport(::java::beans::beancontext::BeanContextChild *); + virtual void setBeanContext(::java::beans::beancontext::BeanContext *); + virtual ::java::beans::beancontext::BeanContext * getBeanContext(); + virtual ::java::beans::beancontext::BeanContextChild * getBeanContextChildPeer(); + virtual jboolean isDelegated(); + virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *); + virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *); + virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *); + virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *); + virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *); + virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *); + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *); + virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *); + virtual jboolean validatePendingSetBeanContext(::java::beans::beancontext::BeanContext *); +public: // actually protected + virtual void releaseBeanContextResources(); + virtual void initializeBeanContextResources(); +public: // actually package-private + static const jlong serialVersionUID = 6328947014421475877LL; +public: + ::java::beans::beancontext::BeanContextChild * __attribute__((aligned(__alignof__( ::java::lang::Object)))) beanContextChildPeer; +public: // actually protected + ::java::beans::beancontext::BeanContext * beanContext; + jboolean rejectedSetBCOnce; + ::java::beans::PropertyChangeSupport * pcSupport; + ::java::beans::VetoableChangeSupport * vcSupport; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextChildSupport__ diff --git a/libjava/java/beans/beancontext/BeanContextContainerProxy.h b/libjava/java/beans/beancontext/BeanContextContainerProxy.h new file mode 100644 index 000000000..c3574f5db --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextContainerProxy.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextContainerProxy__ +#define __java_beans_beancontext_BeanContextContainerProxy__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace awt + { + class Container; + } + namespace beans + { + namespace beancontext + { + class BeanContextContainerProxy; + } + } + } +} + +class java::beans::beancontext::BeanContextContainerProxy : public ::java::lang::Object +{ + +public: + virtual ::java::awt::Container * getContainer() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextContainerProxy__ diff --git a/libjava/java/beans/beancontext/BeanContextEvent.h b/libjava/java/beans/beancontext/BeanContextEvent.h new file mode 100644 index 000000000..a74c1da04 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextEvent.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextEvent__ +#define __java_beans_beancontext_BeanContextEvent__ + +#pragma interface + +#include <java/util/EventObject.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContext; + class BeanContextEvent; + } + } + } +} + +class java::beans::beancontext::BeanContextEvent : public ::java::util::EventObject +{ + +public: // actually protected + BeanContextEvent(::java::beans::beancontext::BeanContext *); +public: + virtual ::java::beans::beancontext::BeanContext * getBeanContext(); + virtual ::java::beans::beancontext::BeanContext * getPropagatedFrom(); + virtual jboolean isPropagated(); + virtual void setPropagatedFrom(::java::beans::beancontext::BeanContext *); +private: + static const jlong serialVersionUID = 7267998073569045052LL; +public: // actually protected + ::java::beans::beancontext::BeanContext * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) propagatedFrom; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextEvent__ diff --git a/libjava/java/beans/beancontext/BeanContextMembershipEvent.h b/libjava/java/beans/beancontext/BeanContextMembershipEvent.h new file mode 100644 index 000000000..8b6c933bb --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextMembershipEvent.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextMembershipEvent__ +#define __java_beans_beancontext_BeanContextMembershipEvent__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextEvent.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContext; + class BeanContextMembershipEvent; + } + } + } +} + +class java::beans::beancontext::BeanContextMembershipEvent : public ::java::beans::beancontext::BeanContextEvent +{ + +public: + BeanContextMembershipEvent(::java::beans::beancontext::BeanContext *, ::java::util::Collection *); + BeanContextMembershipEvent(::java::beans::beancontext::BeanContext *, JArray< ::java::lang::Object * > *); + virtual jint size(); + virtual ::java::util::Iterator * iterator(); + virtual JArray< ::java::lang::Object * > * toArray(); + virtual jboolean contains(::java::lang::Object *); +private: + static const jlong serialVersionUID = 3499346510334590959LL; +public: // actually protected + ::java::util::Collection * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) children; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextMembershipEvent__ diff --git a/libjava/java/beans/beancontext/BeanContextMembershipListener.h b/libjava/java/beans/beancontext/BeanContextMembershipListener.h new file mode 100644 index 000000000..89efed826 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextMembershipListener.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextMembershipListener__ +#define __java_beans_beancontext_BeanContextMembershipListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextMembershipEvent; + class BeanContextMembershipListener; + } + } + } +} + +class java::beans::beancontext::BeanContextMembershipListener : public ::java::lang::Object +{ + +public: + virtual void childrenAdded(::java::beans::beancontext::BeanContextMembershipEvent *) = 0; + virtual void childrenRemoved(::java::beans::beancontext::BeanContextMembershipEvent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextMembershipListener__ diff --git a/libjava/java/beans/beancontext/BeanContextProxy.h b/libjava/java/beans/beancontext/BeanContextProxy.h new file mode 100644 index 000000000..3d18c0a81 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextProxy.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextProxy__ +#define __java_beans_beancontext_BeanContextProxy__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextChild; + class BeanContextProxy; + } + } + } +} + +class java::beans::beancontext::BeanContextProxy : public ::java::lang::Object +{ + +public: + virtual ::java::beans::beancontext::BeanContextChild * getBeanContextProxy() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextProxy__ diff --git a/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h b/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h new file mode 100644 index 000000000..7b69fe82b --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServiceAvailableEvent.h @@ -0,0 +1,41 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServiceAvailableEvent__ +#define __java_beans_beancontext_BeanContextServiceAvailableEvent__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextEvent.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceAvailableEvent; + class BeanContextServices; + } + } + } +} + +class java::beans::beancontext::BeanContextServiceAvailableEvent : public ::java::beans::beancontext::BeanContextEvent +{ + +public: + BeanContextServiceAvailableEvent(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *); + virtual ::java::util::Iterator * getCurrentServiceSelectors(); + virtual ::java::lang::Class * getServiceClass(); + virtual ::java::beans::beancontext::BeanContextServices * getSourceAsBeanContextServices(); +private: + static const jlong serialVersionUID = -5333985775656400778LL; +public: // actually protected + ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) serviceClass; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServiceAvailableEvent__ diff --git a/libjava/java/beans/beancontext/BeanContextServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServiceProvider.h new file mode 100644 index 000000000..937bd5dec --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServiceProvider.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServiceProvider__ +#define __java_beans_beancontext_BeanContextServiceProvider__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceProvider; + class BeanContextServices; + } + } + } +} + +class java::beans::beancontext::BeanContextServiceProvider : public ::java::lang::Object +{ + +public: + virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *) = 0; + virtual void releaseService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Object *) = 0; + virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextServiceProvider__ diff --git a/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h b/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h new file mode 100644 index 000000000..952edd1e0 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServiceProviderBeanInfo.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServiceProviderBeanInfo__ +#define __java_beans_beancontext_BeanContextServiceProviderBeanInfo__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace awt + { + class Image; + } + namespace beans + { + class BeanDescriptor; + class BeanInfo; + class EventSetDescriptor; + class MethodDescriptor; + class PropertyDescriptor; + namespace beancontext + { + class BeanContextServiceProviderBeanInfo; + } + } + } +} + +class java::beans::beancontext::BeanContextServiceProviderBeanInfo : public ::java::lang::Object +{ + +public: + virtual JArray< ::java::beans::BeanInfo * > * getServicesBeanInfo() = 0; + virtual ::java::beans::BeanDescriptor * getBeanDescriptor() = 0; + virtual JArray< ::java::beans::EventSetDescriptor * > * getEventSetDescriptors() = 0; + virtual jint getDefaultEventIndex() = 0; + virtual JArray< ::java::beans::PropertyDescriptor * > * getPropertyDescriptors() = 0; + virtual jint getDefaultPropertyIndex() = 0; + virtual JArray< ::java::beans::MethodDescriptor * > * getMethodDescriptors() = 0; + virtual JArray< ::java::beans::BeanInfo * > * getAdditionalBeanInfo() = 0; + virtual ::java::awt::Image * getIcon(jint) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextServiceProviderBeanInfo__ diff --git a/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h b/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h new file mode 100644 index 000000000..700da3ac4 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServiceRevokedEvent.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServiceRevokedEvent__ +#define __java_beans_beancontext_BeanContextServiceRevokedEvent__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextEvent.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceRevokedEvent; + class BeanContextServices; + } + } + } +} + +class java::beans::beancontext::BeanContextServiceRevokedEvent : public ::java::beans::beancontext::BeanContextEvent +{ + +public: + BeanContextServiceRevokedEvent(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *, jboolean); + virtual ::java::lang::Class * getServiceClass(); + virtual jboolean isServiceClass(::java::lang::Class *); + virtual ::java::beans::beancontext::BeanContextServices * getSourceAsBeanContextServices(); + virtual jboolean isCurrentServiceInvalidNow(); +private: + static const jlong serialVersionUID = -1295543154724961754LL; +public: // actually protected + ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextEvent)))) serviceClass; +private: + jboolean invalidateRefs; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServiceRevokedEvent__ diff --git a/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h b/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h new file mode 100644 index 000000000..c74f48a08 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServiceRevokedListener.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServiceRevokedListener__ +#define __java_beans_beancontext_BeanContextServiceRevokedListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceRevokedEvent; + class BeanContextServiceRevokedListener; + } + } + } +} + +class java::beans::beancontext::BeanContextServiceRevokedListener : public ::java::lang::Object +{ + +public: + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextServiceRevokedListener__ diff --git a/libjava/java/beans/beancontext/BeanContextServices.h b/libjava/java/beans/beancontext/BeanContextServices.h new file mode 100644 index 000000000..fd6741976 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServices.h @@ -0,0 +1,88 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServices__ +#define __java_beans_beancontext_BeanContextServices__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeListener; + class VetoableChangeListener; + namespace beancontext + { + class BeanContext; + class BeanContextChild; + class BeanContextMembershipListener; + class BeanContextServiceAvailableEvent; + class BeanContextServiceProvider; + class BeanContextServiceRevokedEvent; + class BeanContextServiceRevokedListener; + class BeanContextServices; + class BeanContextServicesListener; + } + } + namespace net + { + class URL; + } + } +} + +class java::beans::beancontext::BeanContextServices : public ::java::lang::Object +{ + +public: + virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *) = 0; + virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean) = 0; + virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *) = 0; + virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *) = 0; + virtual ::java::util::Iterator * getCurrentServiceClasses() = 0; + virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *) = 0; + virtual jboolean hasService(::java::lang::Class *) = 0; + virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0; + virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *) = 0; + virtual ::java::lang::Object * instantiateChild(::java::lang::String *) = 0; + virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0; + virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *) = 0; + virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0; + virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *) = 0; + virtual jboolean add(::java::lang::Object *) = 0; + virtual jboolean addAll(::java::util::Collection *) = 0; + virtual void clear() = 0; + virtual jboolean contains(::java::lang::Object *) = 0; + virtual jboolean containsAll(::java::util::Collection *) = 0; + virtual jboolean isEmpty() = 0; + virtual ::java::util::Iterator * iterator() = 0; + virtual jboolean remove(::java::lang::Object *) = 0; + virtual jboolean removeAll(::java::util::Collection *) = 0; + virtual jboolean retainAll(::java::util::Collection *) = 0; + virtual jint size() = 0; + virtual JArray< ::java::lang::Object * > * toArray() = 0; + virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *) = 0; + virtual void setBeanContext(::java::beans::beancontext::BeanContext *) = 0; + virtual ::java::beans::beancontext::BeanContext * getBeanContext() = 0; + virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *) = 0; + virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *) = 0; + virtual jboolean needsGui() = 0; + virtual jboolean avoidingGui() = 0; + virtual void dontUseGui() = 0; + virtual void okToUseGui() = 0; + virtual void setDesignTime(jboolean) = 0; + virtual jboolean isDesignTime() = 0; + virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *) = 0; + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextServices__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesListener.h b/libjava/java/beans/beancontext/BeanContextServicesListener.h new file mode 100644 index 000000000..2be375349 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesListener.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesListener__ +#define __java_beans_beancontext_BeanContextServicesListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceAvailableEvent; + class BeanContextServiceRevokedEvent; + class BeanContextServicesListener; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesListener : public ::java::lang::Object +{ + +public: + virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *) = 0; + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __java_beans_beancontext_BeanContextServicesListener__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h new file mode 100644 index 000000000..d74827c13 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSChild.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__ +#define __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextSupport$BCSChild.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServicesSupport; + class BeanContextServicesSupport$BCSSChild; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$BCSSChild : public ::java::beans::beancontext::BeanContextSupport$BCSChild +{ + +public: // actually package-private + BeanContextServicesSupport$BCSSChild(::java::beans::beancontext::BeanContextServicesSupport *, ::java::lang::Object *, ::java::lang::Object *); +private: + static const jlong serialVersionUID = -3263851306889194873LL; +public: // actually package-private + ::java::beans::beancontext::BeanContextServicesSupport * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextSupport$BCSChild)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSChild__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h new file mode 100644 index 000000000..0453cc16c --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSProxyServiceProvider.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__ +#define __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceProvider; + class BeanContextServiceRevokedEvent; + class BeanContextServices; + class BeanContextServicesSupport; + class BeanContextServicesSupport$BCSSProxyServiceProvider; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$BCSSProxyServiceProvider : public ::java::lang::Object +{ + +public: // actually package-private + BeanContextServicesSupport$BCSSProxyServiceProvider(::java::beans::beancontext::BeanContextServicesSupport *, ::java::beans::beancontext::BeanContextServiceProvider *); +public: + virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::beans::beancontext::BeanContextServices *, ::java::lang::Class *); + virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *); + virtual void releaseService(::java::beans::beancontext::BeanContextServices *, ::java::lang::Object *, ::java::lang::Object *); + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *); +private: + static const jlong serialVersionUID = 7078212910685744490LL; + ::java::beans::beancontext::BeanContextServiceProvider * __attribute__((aligned(__alignof__( ::java::lang::Object)))) provider; +public: // actually package-private + ::java::beans::beancontext::BeanContextServicesSupport * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSProxyServiceProvider__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h new file mode 100644 index 000000000..999ce912f --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$BCSSServiceProvider.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__ +#define __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceProvider; + class BeanContextServicesSupport$BCSSServiceProvider; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider : public ::java::lang::Object +{ + + BeanContextServicesSupport$BCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *); +public: // actually protected + virtual ::java::beans::beancontext::BeanContextServiceProvider * getServiceProvider(); +private: + ::java::lang::Class * getServiceClass(); +public: // actually package-private + static ::java::lang::Class * access$0(::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider *); + BeanContextServicesSupport$BCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, ::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider *); +private: + static const jlong serialVersionUID = 861278251667444782LL; +public: // actually protected + ::java::beans::beancontext::BeanContextServiceProvider * __attribute__((aligned(__alignof__( ::java::lang::Object)))) serviceProvider; +private: + ::java::lang::Class * serviceClass; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$BCSSServiceProvider__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h new file mode 100644 index 000000000..64fb22766 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$Request.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$Request__ +#define __java_beans_beancontext_BeanContextServicesSupport$Request__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServicesSupport$Request; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$Request : public ::java::lang::Object +{ + +public: + BeanContextServicesSupport$Request(::java::lang::Object *); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::lang::Object * getRequestor(); +private: + ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) requestor; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$Request__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h new file mode 100644 index 000000000..0f6a32ea1 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceLease.h @@ -0,0 +1,37 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__ +#define __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextServicesSupport$Request.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServicesSupport$ServiceLease; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$ServiceLease : public ::java::beans::beancontext::BeanContextServicesSupport$Request +{ + +public: + BeanContextServicesSupport$ServiceLease(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::lang::Object * getService(); +private: + ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextServicesSupport$Request)))) service; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$ServiceLease__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h new file mode 100644 index 000000000..24465df70 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport$ServiceRequest.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__ +#define __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextServicesSupport$Request.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextServiceRevokedListener; + class BeanContextServicesSupport$ServiceRequest; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport$ServiceRequest : public ::java::beans::beancontext::BeanContextServicesSupport$Request +{ + +public: + BeanContextServicesSupport$ServiceRequest(::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::beans::beancontext::BeanContextServiceRevokedListener * getListener(); +private: + ::java::beans::beancontext::BeanContextServiceRevokedListener * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextServicesSupport$Request)))) listener; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport$ServiceRequest__ diff --git a/libjava/java/beans/beancontext/BeanContextServicesSupport.h b/libjava/java/beans/beancontext/BeanContextServicesSupport.h new file mode 100644 index 000000000..f16583166 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextServicesSupport.h @@ -0,0 +1,90 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextServicesSupport__ +#define __java_beans_beancontext_BeanContextServicesSupport__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextSupport.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextChild; + class BeanContextServiceAvailableEvent; + class BeanContextServiceProvider; + class BeanContextServiceRevokedEvent; + class BeanContextServiceRevokedListener; + class BeanContextServices; + class BeanContextServicesListener; + class BeanContextServicesSupport; + class BeanContextServicesSupport$BCSSProxyServiceProvider; + class BeanContextServicesSupport$BCSSServiceProvider; + class BeanContextSupport$BCSChild; + } + } + } +} + +class java::beans::beancontext::BeanContextServicesSupport : public ::java::beans::beancontext::BeanContextSupport +{ + +public: + BeanContextServicesSupport(); + BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *); + BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *); + BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean); + BeanContextServicesSupport(::java::beans::beancontext::BeanContextServices *, ::java::util::Locale *, jboolean, jboolean); + virtual void addBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *); + virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *); +public: // actually protected + virtual jboolean addService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean); + virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *); + virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *); + virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *); + virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *); + virtual ::java::beans::beancontext::BeanContextServicesSupport$BCSSServiceProvider * createBCSSServiceProvider(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *); + virtual void fireServiceAdded(::java::beans::beancontext::BeanContextServiceAvailableEvent *); + virtual void fireServiceAdded(::java::lang::Class *); + virtual void fireServiceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *); + virtual void fireServiceRevoked(::java::lang::Class *, jboolean); +public: + virtual ::java::beans::beancontext::BeanContextServices * getBeanContextServicesPeer(); +public: // actually protected + static ::java::beans::beancontext::BeanContextServicesListener * getChildBeanContextServicesListener(::java::lang::Object *); +public: + virtual ::java::util::Iterator * getCurrentServiceClasses(); + virtual ::java::util::Iterator * getCurrentServiceSelectors(::java::lang::Class *); + virtual ::java::lang::Object * getService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Class *, ::java::lang::Object *, ::java::beans::beancontext::BeanContextServiceRevokedListener *); + virtual jboolean hasService(::java::lang::Class *); + virtual void initialize(); +public: // actually protected + virtual void initializeBeanContextResources(); + virtual void releaseBeanContextResources(); +public: + virtual void releaseService(::java::beans::beancontext::BeanContextChild *, ::java::lang::Object *, ::java::lang::Object *); + virtual void removeBeanContextServicesListener(::java::beans::beancontext::BeanContextServicesListener *); + virtual void revokeService(::java::lang::Class *, ::java::beans::beancontext::BeanContextServiceProvider *, jboolean); + virtual void serviceAvailable(::java::beans::beancontext::BeanContextServiceAvailableEvent *); + virtual void serviceRevoked(::java::beans::beancontext::BeanContextServiceRevokedEvent *); +private: + static const jlong serialVersionUID = -8494482757288719206LL; +public: // actually protected + ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextSupport)))) bcsListeners; + ::java::beans::beancontext::BeanContextServicesSupport$BCSSProxyServiceProvider * proxy; + jint serializable; + ::java::util::HashMap * services; +private: + ::java::util::HashMap * serviceUsers; + ::java::util::HashMap * serviceRequests; + ::java::util::HashMap * serviceLeases; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextServicesSupport__ diff --git a/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h b/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h new file mode 100644 index 000000000..40720fb57 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextSupport$BCSChild.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextSupport$BCSChild__ +#define __java_beans_beancontext_BeanContextSupport$BCSChild__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextSupport; + class BeanContextSupport$BCSChild; + } + } + } +} + +class java::beans::beancontext::BeanContextSupport$BCSChild : public ::java::lang::Object +{ + +public: // actually package-private + BeanContextSupport$BCSChild(::java::beans::beancontext::BeanContextSupport *, ::java::lang::Object *, ::java::lang::Object *); +private: + ::java::lang::Object * getTargetChild(); +public: // actually package-private + static ::java::lang::Object * access$0(::java::beans::beancontext::BeanContextSupport$BCSChild *); +private: + static const jlong serialVersionUID = -5815286101609939109LL; + ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::lang::Object)))) targetChild; + ::java::lang::Object * peer; +public: // actually package-private + ::java::beans::beancontext::BeanContextSupport * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextSupport$BCSChild__ diff --git a/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h b/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h new file mode 100644 index 000000000..551697939 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextSupport$BCSIterator.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextSupport$BCSIterator__ +#define __java_beans_beancontext_BeanContextSupport$BCSIterator__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace beans + { + namespace beancontext + { + class BeanContextSupport$BCSIterator; + } + } + } +} + +class java::beans::beancontext::BeanContextSupport$BCSIterator : public ::java::lang::Object +{ + +public: // actually package-private + BeanContextSupport$BCSIterator(::java::util::Iterator *); +public: + jboolean hasNext(); + ::java::lang::Object * next(); + void remove(); +private: + ::java::util::Iterator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) child; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextSupport$BCSIterator__ diff --git a/libjava/java/beans/beancontext/BeanContextSupport.h b/libjava/java/beans/beancontext/BeanContextSupport.h new file mode 100644 index 000000000..36678b520 --- /dev/null +++ b/libjava/java/beans/beancontext/BeanContextSupport.h @@ -0,0 +1,136 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_beans_beancontext_BeanContextSupport__ +#define __java_beans_beancontext_BeanContextSupport__ + +#pragma interface + +#include <java/beans/beancontext/BeanContextChildSupport.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace beans + { + class PropertyChangeEvent; + class PropertyChangeListener; + class VetoableChangeListener; + class Visibility; + namespace beancontext + { + class BeanContext; + class BeanContextChild; + class BeanContextMembershipEvent; + class BeanContextMembershipListener; + class BeanContextSupport; + class BeanContextSupport$BCSChild; + } + } + namespace net + { + class URL; + } + } +} + +class java::beans::beancontext::BeanContextSupport : public ::java::beans::beancontext::BeanContextChildSupport +{ + + void readObject(::java::io::ObjectInputStream *); + void writeObject(::java::io::ObjectOutputStream *); +public: + BeanContextSupport(); + BeanContextSupport(::java::beans::beancontext::BeanContext *); + BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *); + BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean); + BeanContextSupport(::java::beans::beancontext::BeanContext *, ::java::util::Locale *, jboolean, jboolean); + virtual jboolean add(::java::lang::Object *); + virtual jboolean addAll(::java::util::Collection *); + virtual void addBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *); + virtual jboolean avoidingGui(); +public: // actually protected + virtual ::java::util::Iterator * bcsChildren(); + virtual void bcsPreDeserializationHook(::java::io::ObjectInputStream *); + virtual void bcsPreSerializationHook(::java::io::ObjectOutputStream *); + virtual void childDeserializedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *); + virtual void childJustAddedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *); + virtual void childJustRemovedHook(::java::lang::Object *, ::java::beans::beancontext::BeanContextSupport$BCSChild *); + static jboolean classEquals(::java::lang::Class *, ::java::lang::Class *); +public: + virtual void clear(); + virtual jboolean contains(::java::lang::Object *); + virtual jboolean containsAll(::java::util::Collection *); + virtual jboolean containsKey(::java::lang::Object *); +public: // actually protected + virtual JArray< ::java::lang::Object * > * copyChildren(); + virtual ::java::beans::beancontext::BeanContextSupport$BCSChild * createBCSChild(::java::lang::Object *, ::java::lang::Object *); + virtual void deserialize(::java::io::ObjectInputStream *, ::java::util::Collection *); +public: + virtual void dontUseGui(); +public: // actually protected + virtual void fireChildrenAdded(::java::beans::beancontext::BeanContextMembershipEvent *); + virtual void fireChildrenRemoved(::java::beans::beancontext::BeanContextMembershipEvent *); +public: + virtual ::java::beans::beancontext::BeanContext * getBeanContextPeer(); +public: // actually protected + static ::java::beans::beancontext::BeanContextChild * getChildBeanContextChild(::java::lang::Object *); + static ::java::beans::beancontext::BeanContextMembershipListener * getChildBeanContextMembershipListener(::java::lang::Object *); + static ::java::beans::PropertyChangeListener * getChildPropertyChangeListener(::java::lang::Object *); + static ::java::io::Serializable * getChildSerializable(::java::lang::Object *); + static ::java::beans::VetoableChangeListener * getChildVetoableChangeListener(::java::lang::Object *); + static ::java::beans::Visibility * getChildVisibility(::java::lang::Object *); +public: + virtual ::java::util::Locale * getLocale(); + virtual ::java::net::URL * getResource(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *); + virtual ::java::io::InputStream * getResourceAsStream(::java::lang::String *, ::java::beans::beancontext::BeanContextChild *); +public: // actually protected + virtual void initialize(); +public: + virtual ::java::lang::Object * instantiateChild(::java::lang::String *); + virtual jboolean isDesignTime(); + virtual jboolean isEmpty(); + virtual jboolean isSerializing(); + virtual ::java::util::Iterator * iterator(); + virtual jboolean needsGui(); + virtual void okToUseGui(); + virtual void propertyChange(::java::beans::PropertyChangeEvent *); + virtual void readChildren(::java::io::ObjectInputStream *); + virtual jboolean remove(::java::lang::Object *); +public: // actually protected + virtual jboolean remove(::java::lang::Object *, jboolean); +public: + virtual jboolean removeAll(::java::util::Collection *); + virtual void removeBeanContextMembershipListener(::java::beans::beancontext::BeanContextMembershipListener *); + virtual jboolean retainAll(::java::util::Collection *); +public: // actually protected + virtual void serialize(::java::io::ObjectOutputStream *, ::java::util::Collection *); +public: + virtual void setDesignTime(jboolean); + virtual void setLocale(::java::util::Locale *); + virtual jint size(); + virtual JArray< ::java::lang::Object * > * toArray(); + virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *); +public: // actually protected + virtual jboolean validatePendingAdd(::java::lang::Object *); + virtual jboolean validatePendingRemove(::java::lang::Object *); +public: + virtual void vetoableChange(::java::beans::PropertyChangeEvent *); + virtual void writeChildren(::java::io::ObjectOutputStream *); +private: + static const jlong serialVersionUID = -4879613978649577204LL; +public: // actually protected + ::java::util::ArrayList * __attribute__((aligned(__alignof__( ::java::beans::beancontext::BeanContextChildSupport)))) bcmListeners; + ::java::util::HashMap * children; + jboolean designTime; + ::java::util::Locale * locale; + jboolean okToUseGui__; +private: + jboolean serializing; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_beans_beancontext_BeanContextSupport__ |