* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.usermgt;
+package org.wamblee.usermgt.hibernate;
import java.io.IOException;
import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.Scope;
-import org.wamblee.usermgt.hibernate.UsermgtHibernateMappingFiles;
+import org.wamblee.usermgt.UserAdministration;
+import org.wamblee.usermgt.UserGroupRepositoryComponent;
public class UserAdministrationComponent extends DefaultContainer {
private ProvidedInterface USER_MGT = new DefaultProvidedInterface(
"usermgt", UserAdministration.class);
- private Component<?> _hibernate;
- private Component<?> _repository;
- private Component<?> _usermgt;
-
- private boolean _exposeInternals;
-
public UserAdministrationComponent(String aName, boolean aExposeInternals)
throws IOException {
super(aName);
- _exposeInternals = aExposeInternals;
-
+
addComponent("mappingFiles", new UsermgtHibernateMappingFiles());
- _hibernate = new HibernateComponent("hibernate");
+ Component<?> _hibernate = new HibernateComponent("hibernate");
addComponent(_hibernate);
- _repository = new UserGroupRepositoryComponent("usersgroups");
+ Component<?> _repository = new UserGroupRepositoryComponent("usersgroups");
addComponent(_repository);
- _usermgt = new UserAdministrationLightComponent("usermgtlight");
+ Component<?> _usermgt = new UserAdministrationLightComponent("usermgtlight");
addComponent(_usermgt);
addRequiredInterface(new DefaultRequiredInterface("datasource",
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.wamblee.usermgt;
+package org.wamblee.usermgt.hibernate;
import java.util.HashMap;
import java.util.Map;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.RequiredInterface;
import org.wamblee.system.spring.SpringComponent;
+import org.wamblee.usermgt.GroupSet;
+import org.wamblee.usermgt.UserAdministration;
+import org.wamblee.usermgt.UserSet;
/**
* Light version of the user administration component that requires external