インタフェース
java.beans.beancontext.BeanContextServiceProviderの使用
-
java.beans.beancontextでのBeanContextServiceProviderの使用
修飾子と型フィールド説明protected BeanContextServiceProvider
BeanContextServicesSupport.BCSSServiceProvider.serviceProvider
サービス・プロバイダです。修飾子と型メソッド説明protected BeanContextServiceProvider
BeanContextServicesSupport.BCSSServiceProvider.getServiceProvider()
サービス・プロバイダを返します。修飾子と型メソッド説明boolean
BeanContextServices.addService
(Class<?> serviceClass, BeanContextServiceProvider serviceProvider) このBeanContextにサービスを追加します。boolean
BeanContextServicesSupport.addService
(Class<?> serviceClass, BeanContextServiceProvider bcsp) サービスを追加します。protected boolean
BeanContextServicesSupport.addService
(Class<?> serviceClass, BeanContextServiceProvider bcsp, boolean fireEvent) サービスを追加します。BeanContextServicesSupport.createBCSSServiceProvider
(Class<?> sc, BeanContextServiceProvider bcsp) サブクラスはこのメソッドをオーバーライドすることにより、インスタンス化するためにaddService()をオーバーライドすることなく、BCSSServiceProviderの新しいサブクラスを作成できます。void
BeanContextServices.revokeService
(Class<?> serviceClass, BeanContextServiceProvider serviceProvider, boolean revokeCurrentServicesNow) 現在登録されているサービスをこのコンテキストから削除するために、BeanContextServiceProvidersは、このメソッドを呼び出して削除できます。void
BeanContextServicesSupport.revokeService
(Class<?> serviceClass, BeanContextServiceProvider bcsp, boolean revokeCurrentServicesNow) サービスを削除します。