[jboss-jira] [JBoss JIRA] Created: (JGRP-1297) Make generation of addresses pluggable
Bela Ban (JIRA)
jira-events at lists.jboss.org
Mon Feb 28 07:55:05 EST 2011
Make generation of addresses pluggable
--------------------------------------
Key: JGRP-1297
URL: https://issues.jboss.org/browse/JGRP-1297
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.12
Sometimes it might be desirable to provide custom addresses (classes implementing org.jgroups.Address). One example is an address which contains additional data, e.g. an attribute that's shipped around with the address.
SOLUTION: JChannel provides a setAddressGenerator(AddressGenerator). AddressGenerator has a method generateAddress(), which returns an Address.
One could create a subclass of UUID, for instance, and add a string to it, and then create an instance of this subclass in generateAddress().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list