[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1342) For MC deployment, convert any potential beans into proper JavaBeans

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Wed May 7 11:43:20 EDT 2008


For MC deployment, convert any potential beans into proper JavaBeans
--------------------------------------------------------------------

                 Key: JBCACHE-1342
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1342
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 2.1.0.GA
            Reporter: Galder Zamarreno
         Assigned To: Galder Zamarreno
            Priority: Minor
             Fix For: 2.2.0.GA


Some of the beans that can be injected into a JBC instance 
via MC are not really proper beans. Some of the configuration
options that can be configured don't have the corresponding 
set/get operations. Without them, you can't them in the 
following fashion:

<property name="foo">bar</property>

For example, for JDBCCacheLoaderConfig, you can set the 
following properties like that:

<properties>
cache.jdbc.table.primarykey=jbosscache_pk
cache.jdbc.fqn.column=fqn
cache.jdbc.fqn.type=character varying
cache.jdbc.node.column=node
cache.jdbc.node.type=bytea
cache.jdbc.parent.column=parentfqn
cache.jdbc.sql-concat=1||2
</properties>

Make JDBCCacheLoaderConfig a proper JavaBean and check 
whether any other cache loaders have the same issue.

-- 
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