[
https://issues.apache.org/jira/browse/PLUTO-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David DeWolf resolved PLUTO-139.
--------------------------------
Resolution: Won't Fix
> When calling FactoryManagerService.getFactory(), some arguments passed are
> not logic.
> -------------------------------------------------------------------------------------
>
> Key: PLUTO-139
> URL: https://issues.apache.org/jira/browse/PLUTO-139
> Project: Pluto
> Issue Type: Improvement
> Components: portlet container
> Affects Versions: 1.0.1
> Reporter: @deprecated ZHENG Zhong
> Priority: Minor
> Fix For: 1.0.2
>
> Attachments: ControllerObjectAccess.diff.txt,
> FactoryManagerService.diff.txt, ObjectIDAccess.diff.txt
>
>
> The pluto container defines a set of Factory interfaces to create certain
> classes, such as classes in the "javax.portlet" package. In the
> FactoryManagerService interface, the following method is defined:
> public Factory getFactory(Class theClass);
> The method signature seems to mean that: get a factory instance that i can
> use to create the specified class (theClass). For example, pluto will call
> FactoryManagerService.getFactory(RenderRequest.class) to get a render request
> factory instance which may be used to create RenderRequest instances. Thus...
> 1- In the "org.apache.pluto.util.ObjectIDAccess" class, to get an
> ObjectIDFactory instance, which may be used to create ObjectID instances,
> Pluto should call 'FactoryManagerService.getFactory(ObjectID.class)' instead
> of 'FactoryManagerService.getFactory(ObjectIDFactory.class)'.
> 2 - In the "org.apache.pluto.om.ControllerObjectAccess" class, to get a
> ControllerFactory instance, which may be used to create Controller instances,
> Pluto should call 'FactoryManagerService.getFactory(Controller.class)'
> instead of 'FactoryManagerService.getFactory(ControllerFactory.class)'.
> Regards.
> ZHENG Zhong
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.