[JBoss JIRA] (FORGE-1638) Support creation of WebSocket endpoints
by Vineet Reynolds (JIRA)
Vineet Reynolds created FORGE-1638:
--------------------------------------
Summary: Support creation of WebSocket endpoints
Key: FORGE-1638
URL: https://issues.jboss.org/browse/FORGE-1638
Project: Forge
Issue Type: Feature Request
Components: Java EE
Affects Versions: 2.1.1.Final
Reporter: Vineet Reynolds
Needless to say, Forge 2 should support creation of WebSocket endpoints as part of support for Java EE 7. This could be done in multiple commands especially those which integrate with downstream tiers like an EJB service layer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (FORGE-1635) Shouldn't these commands be isProjectRequired() return true
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-1635:
----------------------------------------
Summary: Shouldn't these commands be isProjectRequired() return true
Key: FORGE-1635
URL: https://issues.jboss.org/browse/FORGE-1635
Project: Forge
Issue Type: Feature Request
Components: UI - Shell
Affects Versions: 2.1.1.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
When we run Forge and press TAB without creating a new project, a set of commands appear. But I think the following ones do not make sense without a project :
{code}
faces-new-validator-method
faces-new-converter
faces-new-validator
jpa-new-entity
jpa-new-field
ejb-new-bean
ejb-set-class-transaction-attribute
ejb-set-method-transaction-attribute
{code}
Shouldn't they be :
{code}
@Override
protected boolean isProjectRequired()
{
return true;
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (FORGE-1634) Make it simpler to add bean properties
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1634?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-1634.
----------------------------------
Resolution: Duplicate Issue
FORGE-1342 already contains this enhancement.
Also it depends on FORGE-1327 to be available in Forge 2
> Make it simpler to add bean properties
> --------------------------------------
>
> Key: FORGE-1634
> URL: https://issues.jboss.org/browse/FORGE-1634
> Project: Forge
> Issue Type: Feature Request
> Components: Parsers / File Manipulation
> Affects Versions: 2.1.1.Final
> Reporter: Shane Bryzak
>
> Currently, to add a property to a java class you need to do this:
> Field<JavaClass> f = javaClass.addField("private String id = null;");
> f.addAnnotation(Id.class);
> f.addAnnotation(Identifier.class);
> javaClass.addMethod("public String getId() {" + lineSeparator +
> " return id;" + lineSeparator +
> "}");
> javaClass.addMethod("public void setId(String id) {" + lineSeparator +
> " this.id = id;" + lineSeparator +
> "}");
> It would be much nicer if you could just do this:
> Property<JavaClass> p = javaClass.addProperty(Long.class, "id");
> p.getField().addAnnotation(Id.class);
> p.getField().addAnnotation(GeneratedValue.class);
> I believe this would be simple to implement with the Property class acting as a simple wrapper around a Field (getField() ) and two Methods (getGetterMethod() / getSetterMethod() ).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (FORGE-1634) Make it simpler to add bean properties
by Shane Bryzak (JIRA)
Shane Bryzak created FORGE-1634:
-----------------------------------
Summary: Make it simpler to add bean properties
Key: FORGE-1634
URL: https://issues.jboss.org/browse/FORGE-1634
Project: Forge
Issue Type: Feature Request
Components: Parsers / File Manipulation
Affects Versions: 2.1.1.Final
Reporter: Shane Bryzak
Currently, to add a property to a java class you need to do this:
Field<JavaClass> f = javaClass.addField("private String id = null;");
f.addAnnotation(Id.class);
f.addAnnotation(Identifier.class);
javaClass.addMethod("public String getId() {" + lineSeparator +
" return id;" + lineSeparator +
"}");
javaClass.addMethod("public void setId(String id) {" + lineSeparator +
" this.id = id;" + lineSeparator +
"}");
It would be much nicer if you could just do this:
Property<JavaClass> p = javaClass.addProperty(Long.class, "id");
p.getField().addAnnotation(Id.class);
p.getField().addAnnotation(GeneratedValue.class);
I believe this would be simple to implement with the Property class acting as a simple wrapper around a Field (getField() ) and two Methods (getGetterMethod() / getSetterMethod() ).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month