On 29.03.2013, at 20:14, Dan Klco dan.k...@sixdimensions.com wrote:
@SlingProperty(name=”jcr:created”)
public Date getCreationDate();
Is this really worth the additional complexity compared to the following?
public Date getCreationDate() {
return
...@gmail.com [mailto:justinedel...@gmail.com] On Behalf
Of Justin Edelson
Sent: Friday, March 29, 2013 3:36 PM
To: dev@sling.apache.org
Subject: Re: Sling Dynamic Proxy
Hi Dan,
This looks very interesting, but I'm curious why this code:
ISlingProxyService slingProxyService
with
annotations and interpreted by the Java Proxy InvocationHandler to map back to
Sling Resources and properties.
Here’s an example usage of the Sling Dynamic Proxy:
public interface Page extends ISlingProxy {
/**
* Gets the property jcr:created
to
retrieve the data required.
-Dan
-Original Message-
From: Alexander Klimetschek [mailto:aklim...@adobe.com]
Sent: Tuesday, April 02, 2013 8:19 AM
To: dev@sling.apache.org
Subject: Re: Sling Dynamic Proxy
On 29.03.2013, at 20:14, Dan Klco dan.k...@sixdimensions.com wrote
Fair enough, I will go ahead and update the code to remove the I prefix to
comply with project standards.
Thanks,
Dan
-Original Message-
From: Felix Meschberger [mailto:fmesc...@adobe.com]
Sent: Tuesday, April 02, 2013 8:21 AM
To: dev@sling.apache.org
Subject: Re: Sling Dynamic Proxy
@sling.apache.org
Subject: Re: Sling Dynamic Proxy
Hi
Am 29.03.2013 um 21:18 schrieb Justin Edelson:
Fixing/changing AdapterManager shouldn't be out of the question :)
Absolutely: How about a special adaptable and adapter class name of * which
just means any ?
Regards
Felix
On Fri
usage of the Sling Dynamic Proxy:
public interface Page extends ISlingProxy {
/**
* Gets the property jcr:created
*/
@SlingProperty(name=jcr:created)
public Date getCreationDate
back to Sling Resources and properties.
Here’s an example usage of the Sling Dynamic Proxy:
public interface Page extends ISlingProxy {
/**
* Gets the property jcr:created
[mailto:justinedel...@gmail.com] On Behalf Of
Justin Edelson
Sent: Friday, March 29, 2013 3:36 PM
To: dev@sling.apache.org
Subject: Re: Sling Dynamic Proxy
Hi Dan,
This looks very interesting, but I'm curious why this code:
ISlingProxyService slingProxyService;
{...}
Page page
.
Thanks for the feedback and please let me know if I missed something,
-Dan
-Original Message-
From: justinedel...@gmail.com [mailto:justinedel...@gmail.com] On Behalf
Of Justin Edelson
Sent: Friday, March 29, 2013 3:36 PM
To: dev@sling.apache.org
Subject: Re: Sling Dynamic Proxy
10 matches
Mail list logo