Skip to main content
Jump to: navigation, search

Difference between revisions of "ECF API Refactoring"

(ECF Refactoring Efforts)
(API Refactorings)
Line 16: Line 16:
 
   javax.security.auth.callback.UnsupportedCallbackException;
 
   javax.security.auth.callback.UnsupportedCallbackException;
  
'''FIX''':
+
Status:  '''DONE'''
 
+
Explanation:  Added new classes and changed existing references to above classes to classes in ECF org.eclipse.ecf.core.security package:
Added new classes and changed existing references to above classes to classes in ECF org.eclipse.ecf.core.security package:
+
  
 
   org.eclipse.ecf.core.security.Callback;
 
   org.eclipse.ecf.core.security.Callback;
Line 24: Line 23:
 
   org.eclipse.ecf.core.security.NameCallback;
 
   org.eclipse.ecf.core.security.NameCallback;
 
   org.eclipse.ecf.core.security.UnsupportedCallbackException;
 
   org.eclipse.ecf.core.security.UnsupportedCallbackException;
 +
 +
===Add 'removeListener' methods===
 +
 +
Add removeListener methods in IChatRoomContainer (and in IPresenceContainer).  Also check
 +
other listener add and check for availability of remove methods.
 +
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=160968
 +
 +
===Streamline ClientSOContainer===
 +
Streamline handling of creating/passing in connect data for new kind of authentication. 
 +
See bug:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=150398
 +
 +
===Move IInvitationListener===
 +
Move (in presence API) access to IInvitationListener to IChatRoomManager rather than IPresenceContainer. 
 +
See:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=160137
 +
 +
Status:  Not Done
 +
 +
===Introduce Convention for Container Adapters===
 +
Change all occurrences of I<whatever>Container that are intended to be used as adapters off of IContainer
 +
(via IContainer.getAdapter(I<whatever>Container) to have the following naming convention:
 +
 +
Was:  I<whatever>Container
 +
Will be:  I<whatever>ContainerAdapter
 +
 +
This way, it should be more obvious which interface in a given API plugin is the
 +
container adapter that should be use for the call to IContainer.getAdapter
 +
 +
Status:  Not Done
 +
===Split org.eclipse.ecf Core Plugin into 2 or 3 Plugins===
 +
Refactor org.eclipse.ecf plugin into 2 or 3 plugins.  This is a large refactoring effort.
 +
See discussion thread on mailing list: http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg00399.html
 +
 +
Status:  Not Done
 +
===Add Bulletin Board API to ECF Plugins and Features===
 +
Add Bulletin Board API.
 +
See:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=150756
 +
 +
Status:  Not Done

Revision as of 20:04, 14 October 2006

Prior to 1.0, ECF will be going through a concerted API and exemplary app refactoring effort. See below for list of desired refactorings and current state

API Refactorings

'Low-end' Execution Environment Support

See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=149024

Problem: Dependency on javax.security.auth.callback.* classes. These classes are not available in Framework 1.1 (they are part of JAAS classes that are optional for F1.1)

Removed ECF core and all provider references to classes

  javax.security.auth.callback.Callback;
  javax.security.auth.callback.CallbackHandler;
  javax.security.auth.callback.NameCallback;
  javax.security.auth.callback.UnsupportedCallbackException;

Status: DONE Explanation: Added new classes and changed existing references to above classes to classes in ECF org.eclipse.ecf.core.security package:

  org.eclipse.ecf.core.security.Callback;
  org.eclipse.ecf.core.security.CallbackHandler;
  org.eclipse.ecf.core.security.NameCallback;
  org.eclipse.ecf.core.security.UnsupportedCallbackException;

Add 'removeListener' methods

Add removeListener methods in IChatRoomContainer (and in IPresenceContainer). Also check other listener add and check for availability of remove methods. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=160968

Streamline ClientSOContainer

Streamline handling of creating/passing in connect data for new kind of authentication. See bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=150398

Move IInvitationListener

Move (in presence API) access to IInvitationListener to IChatRoomManager rather than IPresenceContainer. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=160137

Status: Not Done

Introduce Convention for Container Adapters

Change all occurrences of I<whatever>Container that are intended to be used as adapters off of IContainer (via IContainer.getAdapter(I<whatever>Container) to have the following naming convention:

Was: I<whatever>Container Will be: I<whatever>ContainerAdapter

This way, it should be more obvious which interface in a given API plugin is the container adapter that should be use for the call to IContainer.getAdapter

Status: Not Done

Split org.eclipse.ecf Core Plugin into 2 or 3 Plugins

Refactor org.eclipse.ecf plugin into 2 or 3 plugins. This is a large refactoring effort. See discussion thread on mailing list: http://dev.eclipse.org/mhonarc/lists/ecf-dev/msg00399.html

Status: Not Done

Add Bulletin Board API to ECF Plugins and Features

Add Bulletin Board API. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=150756

Status: Not Done

Back to the top