[jboss-jira] [JBoss JIRA] Commented: (JBREM-63) Get rid of the legacy configuration that embeds xml parsing

Ron Sigal (JIRA) jira-events at lists.jboss.org
Fri Oct 19 15:42:19 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBREM-63?page=comments#action_12383509 ] 
            
Ron Sigal commented on JBREM-63:
--------------------------------

org.jboss.remoting.transport.remoting.Connector can now be configured by way of an org.jboss.remoting.ServerConfiguration.  ServerConfiguration holds four components:

1. transport (supplied by constructor)
2. invokerLocatorParameters:  the is a map of all parameter names and values that will go into the org.jboss.remoting.InvokerLocator
3. serverParameters: this is a map of parameter names and values that will be used by the server but will not go into the InvokerLocator
4. invocationHandlers: this is a map of invocation handlers.  The key is the subsystem, or comma separated list of subsystems.

Note that parameter values in invokerLocatorParameters override values in serverParameters, if a parameter appears in both.

ServerConfiguration may be used programmatically, but it is primarily intended to be constructed from a jboss-beans.xml file by a microcontainer and injected into a Connector.

Unit test:  org.jboss.test.remoting.transport.config.POJOConfigurationTestCase.

Waiting for cruisecontrol results.

> Get rid of the legacy configuration that embeds xml parsing
> -----------------------------------------------------------
>
>                 Key: JBREM-63
>                 URL: http://jira.jboss.com/jira/browse/JBREM-63
>             Project: JBoss Remoting
>          Issue Type: Task
>    Affects Versions: 1.0.1 beta
>            Reporter: Scott M Stark
>         Assigned To: Ron Sigal
>            Priority: Blocker
>             Fix For: 2.4.0.Beta1 (Pinto)
>
>
> I see that the org.jboss.remoting.transport.Connector is using the legacy mechanism of using an Element configuration as an attribute and doing the xml parsing within the code. This needs to be removed and replaced with JBossXB constructs. 

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

        



More information about the jboss-jira mailing list