curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Whitney Sorenson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CURATOR-152) NamespaceFacade does not provide access to underyling client
Date Mon, 06 Oct 2014 10:47:33 GMT
Whitney Sorenson created CURATOR-152:
----------------------------------------

             Summary: NamespaceFacade does not provide access to underyling client
                 Key: CURATOR-152
                 URL: https://issues.apache.org/jira/browse/CURATOR-152
             Project: Apache Curator
          Issue Type: Improvement
          Components: Framework
            Reporter: Whitney Sorenson
            Priority: Minor


NamespaceFacade throws UnsupportedOperationException on close() and start().

This is impractical for the case where NamespaceFacade is being used as the only CuratorFramework
available to an application. Clients are left to either:

- Make a separate binding for underlying curator framework
- Use reflection to access underlying client
- Reimplement Namespace functionality in their own code

None of these are ideal or necessary. The NamespaceFacade should allow close to be called
on the underlying client or should allow access to the underlying client for this type of
use case. Since it previously threw an exception, proxying the close call to the underlying
client would not break existing users.







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message