The following comment has been added to this issue:

     Author: James Carman
    Created: Thu, 5 Aug 2004 12:22 PM
       Body:
As far as the regular expression support goes, I don't know how fancy I'd get 
with that one.  I would probably only allow one wildcard character (I used '*' 
since that's the most common, I think) at the end of the service id.  That way, 
you could either match all services, all services within one module (or group 
of similarly-named modules), or one specific service given one "regular 
expression."  That way, you don't really have to use any regular expression 
parsing.  All you'd have to do is check to see that the service id starts with 
everything up to (but not including) the '*' character.  If you wanted to add 
it to multiple, totally unrelated services, you could always use a 
comma-separated list of service ids.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-39?page=comments#action_37075

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-39

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-39
    Summary: The ability to specify multiple interfaces of a service
       Type: Wish

     Status: Open
   Priority: Minor

    Project: HiveMind
 Components: 
             framework
   Versions:
             1.0

   Assignee: Howard M. Lewis Ship
   Reporter: Zhengmao Hu

    Created: Thu, 5 Aug 2004 7:24 AM
    Updated: Thu, 5 Aug 2004 12:22 PM

Description:
(Sorry, because sending email to [EMAIL PROTECTED] can not make me subscribe, 
so i post it here)

Currently, one service can only have one interface specifiled.

Inside ProxyBuilder.java, the proxy class built only implements this "major" 
interface. This behavior is coded as such:
    
public ProxyBuilder(String type, ServicePoint point)
{
   ...
   _classFab.addInterface(_serviceInterface);
   ...
}

public void addServiceMethods(String indirection)
{
   ...
   Method[] methods = _serviceInterface.getMethods();
   for (int i = 0; i < methods.length; i++) ...
   ...
}


Because of this behavior, if there is a class:

class ServiceABImpl implements ServiceA, ServiceB

This class will be wrapped inside a proxy class, but the proxy class can only 
implement one interface, that makes the usage of this class/service 
inconvienent.

So, there is a wish, wish that more than one interfaces can be specified to one 
service.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to