[
https://issues.apache.org/jira/browse/HIVEMIND-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship updated HIVEMIND-39:
-----------------------------------------
Assignee: (was: Howard M. Lewis Ship)
> The ability to specify multiple interfaces of a service
> -------------------------------------------------------
>
> Key: HIVEMIND-39
> URL: https://issues.apache.org/jira/browse/HIVEMIND-39
> Project: HiveMind
> Issue Type: Wish
> Components: framework
> Affects Versions: 1.0
> Reporter: Zhengmao Hu
> Priority: Minor
>
> (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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.