edu.internet2.middleware.grouper.ldap.LdapHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper Show documentation
Show all versions of grouper Show documentation
Internet2 Groups Management Toolkit
/**
* Copyright 2014 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Created on Jun 21, 2005
*
*/
package edu.internet2.middleware.grouper.ldap;
/**
* Implement this (usually in an anonymous inner class) to get a
* reference to the ldap session object
* @version $Id: HibernateHandler.java,v 1.3 2009-02-06 16:33:18 mchyzer Exp $
* @author mchyzer
* @param
* @param
*/
public interface LdapHandler {
/**
* This method will be called with the hibernate session object to do
* what you wish. Note, HibernateException or RuntimeExceptions can be
* thrown by this method... others should be handled somehow..
* @param ldapHandlerBean holds the ldap object to do operations on
* @return the return value to be passed to return value of callback method
* @throws Exception
*/
R callback(LdapHandlerBean ldapHandlerBean) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy