[jboss-cvs] jboss-portal/core/src/resources/portal-cms-sar/META-INF ...

Julien Viet julien at jboss.com
Thu Jul 20 19:48:39 EDT 2006


  User: julien  
  Date: 06/07/20 19:48:39

  Modified:    core/src/resources/portal-cms-sar/META-INF 
                        jboss-service.xml
  Log:
  more flexibility in command factories : PortalObjectCommandFactory and CMSObjectCommandFactory do not extend the delegate. Rather the delegate command factory is used standalone to delegate then
  
  Revision  Changes    Path
  1.42      +15 -3     jboss-portal/core/src/resources/portal-cms-sar/META-INF/jboss-service.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: jboss-service.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-cms-sar/META-INF/jboss-service.xml,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -b -r1.41 -r1.42
  --- jboss-service.xml	19 Jul 2006 12:08:12 -0000	1.41
  +++ jboss-service.xml	20 Jul 2006 23:48:39 -0000	1.42
  @@ -243,11 +243,23 @@
         xmbean-dd=""
         xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean">
         <xmbean/>
  -      <attribute name="Prefix">content</attribute>
         <attribute name="TargetWindowRef">default.default.DefaultCMSPortletWindow</attribute>
  -      <depends optional-attribute-name="Factory" proxy-type="attribute">portal:commandFactory=Delegating</depends>
         <depends optional-attribute-name="CMSService" proxy-type="attribute">portal:service=CMS</depends>
      </mbean>
  +   <mbean
  +      code="org.jboss.portal.core.command.mapper.CommandFactoryDelegate"
  +      name="portal:commandFactory=Delegate,prefix=content"
  +      xmbean-dd=""
  +      xmbean-code="org.jboss.portal.common.system.JBossServiceModelMBean">
  +      <xmbean/>
  +      <attribute name="Prefix">content</attribute>
  +      <depends
  +         optional-attribute-name="DelegatingFactory"
  +         proxy-type="attribute">portal:commandFactory=Delegating</depends>
  +      <depends
  +         optional-attribute-name="DelegateFactory"
  +         proxy-type="attribute">portal:commandFactory=CMSObject</depends>
  +   </mbean>
      
      <mbean
         code="org.jboss.portal.core.cms.CMSObjectURLFactory"
  
  
  



More information about the jboss-cvs-commits mailing list