public interface ObjectBeanManager
This interface mimics Jackrabbit's one, but this is provided to support more lightweight beans in HST.
Modifier and Type | Method and Description |
---|---|
Object |
getObject(String path)
Get an object from the JCR repository.
|
Object |
getObjectByUuid(String uuid)
Get an object from the JCR repository
|
javax.jcr.Session |
getSession()
This method returns the JCR session.
|
Object getObject(String path) throws ObjectBeanManagerException
path
is the absolute object path and must start with a "/"path
- the absolute object path.ObjectBeanManagerException
- when it is not possible to retrieve the objectObject getObjectByUuid(String uuid) throws ObjectBeanManagerException
uuid
- the object uuidObjectBeanManagerException
- when it is not possible to retrieve the objectjavax.jcr.Session getSession()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.