Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4149634

unclear spec for BeanContextServicesSupport.add(revoke)Service

    Details

    • Subcomponent:
    • CPU:
      generic, sparc
    • OS:
      generic, solaris_2.5

      Description



      Name: sdC67446 Date: 06/17/98


      The spec for methods
      java.beans.beancontext.
         addService(Class serviceCl,BeanContextServiceProvider bcsp)
         addService(Class serviceCl,BeanContextServiceProvider bcsp, boolean b)
         revokeService(Class serviceCl,BeanContextServiceProvider bcsp, boolean b)
           
      says nothing about method's behavior when params 'serviceCl' == null or
                                                            'bcsp' == null.

      The doc says:

      public boolean addService(Class serviceClass,
                                BeanContextServiceProvider bcsp)
            add a service
            Specified by:
                  addService in interface BeanContextServices

      protected boolean addService(Class serviceClass,
                                   BeanContextServiceProvider bcsp,
                                   boolean fireEvent)
            add a service

      public void revokeService(Class serviceClass,
                                BeanContextServiceProvider bcsp,
                                boolean revokeCurrentServicesNow)
            remove a service
            Specified by:
                  revokeService in interface BeanContextServices
      -------------------------------------------------
      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              shommel Scott Hommel (Inactive)
              Reporter:
              sdmitriesunw Sergei Dmitriev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: