[infinispan-issues] [JBoss JIRA] Commented: (ISPN-540) Programmatically started servers should assume default host and port

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Jul 15 04:18:58 EDT 2010


    [ https://jira.jboss.org/browse/ISPN-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12539340#action_12539340 ] 

Galder Zamarreno commented on ISPN-540:
---------------------------------------

In fact on top of this, I've moved all parameter validation to AbstractProtocolServer so that both command line and programmatic access benefit from this. Main.scala now simply checks the protocol started, creates the corresponding server impl and finally creates the default cache manager based on passed configuration.

> Programmatically started servers should assume default host and port
> --------------------------------------------------------------------
>
>                 Key: ISPN-540
>                 URL: https://jira.jboss.org/browse/ISPN-540
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Cache Server
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 4.1.0.CR2
>
>
> A Properties passed to HotRodServer or MemcachedServer needs to have host/port defined.
> For programmatic users, it'd be easier if they could pass an empty or null Properties object and get the servers to use default values
> Currently, users are forced to pass a brand new instance and set host and port.
> Update javadoc as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list