Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JustinEd3Accepted solution
Adobe Employee
October 16, 2015

Hi,

You can do this by using the AdapterManager OSGi service and:

adapterManager.getAdapter(node, Resource.class);

Regards,

Justin

2 replies

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

You can do this by using the AdapterManager OSGi service and:

adapterManager.getAdapter(node, Resource.class);

Regards,

Justin

Translate
Level 6
October 16, 2015

You can do - 

String nodePath = resource.getPath();

Node node = session.getNode(nodePath);

Translate