[JBoss JIRA] (FORGE-1670) JPA Setup Command should allow explicitly overwriting existing persistence units
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1670?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1670:
-------------------------------------------
So I just looked into this - I don't believe you need to remove any persistence units (which you could do by removing all units and re-adding all but the unit you wish to remove). Overwrite should simply modify an existing PU, which is supported just by getting the PU and setting new data into it, then re-saving.
~Lincoln
> JPA Setup Command should allow explicitly overwriting existing persistence units
> ---------------------------------------------------------------------------------
>
> Key: FORGE-1670
> URL: https://issues.jboss.org/browse/FORGE-1670
> Project: Forge
> Issue Type: Feature Request
> Components: Builtin Plugins, Java EE
> Affects Versions: 2.1.1.Final
> Reporter: Lincoln Baxter III
> Assignee: Matej Briskar
> Labels: Starter
> Fix For: 2.x Future
>
>
> JPA Setup should have an "Overwrite" check-box that is enabled only when a name conflict is detected.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
9 years, 11 months
[JBoss JIRA] (FORGE-1855) Simple Container should support singleton services
by Matej Briskar (JIRA)
[ https://issues.jboss.org/browse/FORGE-1855?page=com.atlassian.jira.plugin... ]
Matej Briskar edited comment on FORGE-1855 at 5/29/14 6:55 AM:
---------------------------------------------------------------
However, the singleton instance itself needs to be saved somewhere. What about changing the {{interface org.jboss.forge.furnace.addons.Addon}} and adding there methods {{getSingletonInstances(), add/createSingletonInstance()}} ?
was (Author: mbriskar):
However, the singleton instance itself needs to be saved somewhere. What about changing the {{interface org.jboss.forge.furnace.addons.Addon}} and adding there a method {{getSingletonInstances()}} ?
> Simple Container should support singleton services
> --------------------------------------------------
>
> Key: FORGE-1855
> URL: https://issues.jboss.org/browse/FORGE-1855
> Project: Forge
> Issue Type: Feature Request
> Components: Furnace Simple
> Affects Versions: 2.6.0.Final
> Reporter: George Gastaldi
> Assignee: Matej Briskar
> Fix For: 2.x Future
>
>
> In CDI we use @Singleton to make a bean a singleton, however there is no equivalent on the simple container.
> I propose a {{public interface SingletonService extends Service}} that could be checked while creating instances in {{SimpleExportedInstanceImpl}}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
9 years, 11 months
[JBoss JIRA] (FORGE-1855) Simple Container should support singleton services
by Matej Briskar (JIRA)
[ https://issues.jboss.org/browse/FORGE-1855?page=com.atlassian.jira.plugin... ]
Matej Briskar edited comment on FORGE-1855 at 5/29/14 6:46 AM:
---------------------------------------------------------------
However, the singleton instance itself needs to be saved somewhere. What about changing the {{interface org.jboss.forge.furnace.addons.Addon}} and adding there a method {{getSingletonInstances()}} ?
was (Author: mbriskar):
However, the singleton instance itself needs to be saved somewhere. What about changing the `interface org.jboss.forge.furnace.addons.Addon` and adding there a method `getSingletonInstances()` ?
> Simple Container should support singleton services
> --------------------------------------------------
>
> Key: FORGE-1855
> URL: https://issues.jboss.org/browse/FORGE-1855
> Project: Forge
> Issue Type: Feature Request
> Components: Furnace Simple
> Affects Versions: 2.6.0.Final
> Reporter: George Gastaldi
> Assignee: Matej Briskar
> Fix For: 2.x Future
>
>
> In CDI we use @Singleton to make a bean a singleton, however there is no equivalent on the simple container.
> I propose a {{public interface SingletonService extends Service}} that could be checked while creating instances in {{SimpleExportedInstanceImpl}}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
9 years, 11 months
[JBoss JIRA] (FORGE-1855) Simple Container should support singleton services
by Matej Briskar (JIRA)
[ https://issues.jboss.org/browse/FORGE-1855?page=com.atlassian.jira.plugin... ]
Matej Briskar commented on FORGE-1855:
--------------------------------------
However, the singleton instance itself needs to be saved somewhere. What about changing the `interface org.jboss.forge.furnace.addons.Addon` and adding there a method `getSingletonInstances()` ?
> Simple Container should support singleton services
> --------------------------------------------------
>
> Key: FORGE-1855
> URL: https://issues.jboss.org/browse/FORGE-1855
> Project: Forge
> Issue Type: Feature Request
> Components: Furnace Simple
> Affects Versions: 2.6.0.Final
> Reporter: George Gastaldi
> Assignee: Matej Briskar
> Fix For: 2.x Future
>
>
> In CDI we use @Singleton to make a bean a singleton, however there is no equivalent on the simple container.
> I propose a {{public interface SingletonService extends Service}} that could be checked while creating instances in {{SimpleExportedInstanceImpl}}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
9 years, 11 months