/** * Extended classes which need custom/extra initialization based on the backing Node should * use the {@link #initialized()} method to get wired into the initialization chain. * @param node the backing {@link javax.jcr.Node} in the repository that this document instance represents. */ protected final void initialize(Node node) throws RepositoryException { this.node = node; this.identity = node.getIdentifier(); initialized(); }