Package org.apache.jackrabbit.spi.commons

Examples of org.apache.jackrabbit.spi.commons.AdditionalEventInfo


                    String name = JcrRemotingConstants.RELATION_REMOTE_SESSION_ID;
                    Object forSessionId = session.getAttribute(name);
                    // calculate "local" flags
                    if (forSessionId != null
                            && event instanceof AdditionalEventInfo) {
                        AdditionalEventInfo aei = (AdditionalEventInfo) event;
                        try {
                            boolean isLocal = forSessionId.equals(
                                    aei.getSessionAttribute(name));
                            DomUtil.setAttribute(
                                    bundle, XML_EVENT_LOCAL, null,
                                    Boolean.toString(isLocal));
                        } catch (UnsupportedRepositoryOperationException ex) {
                            // optional feature
View Full Code Here


                    String name = JcrRemotingConstants.RELATION_REMOTE_SESSION_ID;
                    Object forSessionId = session.getAttribute(name);
                    // calculate "local" flags
                    if (forSessionId != null
                            && event instanceof AdditionalEventInfo) {
                        AdditionalEventInfo aei = (AdditionalEventInfo) event;
                        try {
                            boolean isLocal = forSessionId.equals(
                                    aei.getSessionAttribute(name));
                            DomUtil.setAttribute(
                                    bundle, XML_EVENT_LOCAL, null,
                                    Boolean.toString(isLocal));
                        } catch (UnsupportedRepositoryOperationException ex) {
                            // optional feature
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.spi.commons.AdditionalEventInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.