01: /* Copyright 2002 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.groups;
07:
08: /**
09: * Factory interface for creating an <code>IEntityGroupStore</code>.
10: * @author Dan Ellentuck
11: * @version $Revision: 34758 $
12: */
13: public interface IEntityGroupStoreFactory {
14: /**
15: * @return IEntityGroupStore
16: * @throws GroupsException
17: */
18: public IEntityGroupStore newGroupStore() throws GroupsException;
19:
20: /**
21: * Factory method takes a service descriptor parm, which lets the factory
22: * customize the store.
23: *
24: * @param svcDescriptor
25: * @return IEntityGroupStore
26: * @throws GroupsException
27: */
28: public IEntityGroupStore newGroupStore(
29: ComponentGroupServiceDescriptor svcDescriptor)
30: throws GroupsException;
31: }
|