You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Rob Evans (JIRA)" <ji...@apache.org> on 2007/07/16 20:33:04 UTC
[jira] Created: (ABDERA-52) Expose Registered Extensions
Expose Registered Extensions
----------------------------
Key: ABDERA-52
URL: https://issues.apache.org/jira/browse/ABDERA-52
Project: Abdera
Issue Type: Improvement
Affects Versions: 0.3.0
Reporter: Rob Evans
As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
Something along the lines of the following would be nice:
Factory factory = Abdera.getNewFactory();
Strin[] extensionNames = factory.listRegisteredExtensions();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ABDERA-52) Expose Registered Extensions
Posted by "James M Snell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James M Snell resolved ABDERA-52.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.3.0
Checked in
> Expose Registered Extensions
> ----------------------------
>
> Key: ABDERA-52
> URL: https://issues.apache.org/jira/browse/ABDERA-52
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Rob Evans
> Fix For: 0.3.0
>
>
> As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
> Something along the lines of the following would be nice:
> Factory factory = Abdera.getNewFactory();
> Strin[] extensionNames = factory.listRegisteredExtensions();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Updated: (ABDERA-52) Expose Registered Extensions
Posted by James M Snell <ja...@gmail.com>.
The configuration approach will only give you the factories discovered
during the Abdera bootstrap. The Factory allows extension factories to
be registered at runtime. Those would be be visible to the
configuration. I just checked in a fix that provides a
listExtensionFactories method.
- James
Rob Evans (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/ABDERA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Rob Evans updated ABDERA-52:
> ----------------------------
>
> Description:
> As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
>
> Something along the lines of the following would be nice:
> Factory factory = Abdera.getNewFactory();
> Strin[] extensionNames = factory.listRegisteredExtensions();
>
>
>
>
> was:
> As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
>
> Something along the lines of the following would be nice:
> Factory factory = Abdera.getNewFactory();
> Strin[] extensionNames = factory.listRegisteredExtensions();
>
>
>
> Looks like what I need can be found in the configuration:
>
> Abdera abdera = new Abdera();
>
> List factories = abdera.getConfiguration().getExtensionFactories();
>
> for (Iterator iterator = factories.iterator(); iterator.hasNext();) {
> ExtensionFactory factory = (ExtensionFactory) iterator.next();
> System.out.println(factory.getClass().getName());
> }
>
>> Expose Registered Extensions
>> ----------------------------
>>
>> Key: ABDERA-52
>> URL: https://issues.apache.org/jira/browse/ABDERA-52
>> Project: Abdera
>> Issue Type: Improvement
>> Affects Versions: 0.3.0
>> Reporter: Rob Evans
>>
>> As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
>> Something along the lines of the following would be nice:
>> Factory factory = Abdera.getNewFactory();
>> Strin[] extensionNames = factory.listRegisteredExtensions();
>
[jira] Updated: (ABDERA-52) Expose Registered Extensions
Posted by "Rob Evans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ABDERA-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Evans updated ABDERA-52:
----------------------------
Description:
As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
Something along the lines of the following would be nice:
Factory factory = Abdera.getNewFactory();
Strin[] extensionNames = factory.listRegisteredExtensions();
was:
As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
Something along the lines of the following would be nice:
Factory factory = Abdera.getNewFactory();
Strin[] extensionNames = factory.listRegisteredExtensions();
Looks like what I need can be found in the configuration:
Abdera abdera = new Abdera();
List factories = abdera.getConfiguration().getExtensionFactories();
for (Iterator iterator = factories.iterator(); iterator.hasNext();) {
ExtensionFactory factory = (ExtensionFactory) iterator.next();
System.out.println(factory.getClass().getName());
}
> Expose Registered Extensions
> ----------------------------
>
> Key: ABDERA-52
> URL: https://issues.apache.org/jira/browse/ABDERA-52
> Project: Abdera
> Issue Type: Improvement
> Affects Versions: 0.3.0
> Reporter: Rob Evans
>
> As a developer, I'd like to be able to determine what extensions have been registered with the factory. I suppose this means giving access to the ExtensionFactoryMap in some manner.
> Something along the lines of the following would be nice:
> Factory factory = Abdera.getNewFactory();
> Strin[] extensionNames = factory.listRegisteredExtensions();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.