users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] [jsr344-experts] Re: [1142-ResourceLibraryContracts] config options: property name, time and location (was: [971-MultiTemplate])

From: Edward Burns <edward.burns_at_oracle.com>
Date: Mon, 12 Nov 2012 19:28:13 -0800

>>>>> On Mon, 12 Nov 2012 20:26:22 +0100, Frank Caputo <frank_at_frankcaputo.de> said:

LU> +1. Just remember each string should have the following structure:

LU> [contract-library-name]:[contract-resource-prefix]


LU> For example
LU>
LU> my.custom.resourceLibraryContract:implA
LU>
LU> and so on.

FC> I thought the contractLibraryName and resourcePrefix is the same.

LU> The contractLibraryName defines which contract implementation the
LU> resourcePrefix relates to. In that way, resourceLibraryContracts has
LU> both the contracts to use and the implementations of those contracts.

This one totally threw me for a loop as well. I didn't see it coming.

I don't see a compelling reason for this complexity so I'm going with
Frank's logic there is only resourceLibraryContract sand it's a simple
List<String>.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/