0 Replies Latest reply on Oct 19, 2007 1:40 PM by simonbaker

    Assignable too limited?

    simonbaker

      In the interest of purity, the "Assignable" interface is admirably sparse.

      However, from a practical point of view, it seems it would be useful if the "Assignable" interface included the following methods:

      getId()
      getName()
      getActorId()
      getPooledActors()

      These methods could help in writing reusable code and in development.

      getId() and getName() are very practical for logging as well as for handling special cases in reusable code.

      getActorId() and getPooledActors() are useful for skipping unnecessary processing if an actor and/or pool of actors has already been assigned. Also useful for logging.

      Has anyone else felt the need for these methods?