[Yanel-commits] rev 29405 -
public/yanel/contributions/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl
michi at wyona.com
michi at wyona.com
Fri Nov 30 23:35:36 CET 2007
Author: michi
Date: 2007-11-30 23:35:36 +0100 (Fri, 30 Nov 2007)
New Revision: 29405
Removed:
public/yanel/contributions/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map
Log:
obsolete
Deleted: public/yanel/contributions/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map
===================================================================
--- public/yanel/contributions/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map 2007-11-30 22:31:21 UTC (rev 29404)
+++ public/yanel/contributions/realms/foaf/src/resources/foaf/src/java/org/wyona/yanel/impl/map 2007-11-30 22:35:36 UTC (rev 29405)
@@ -1,58 +0,0 @@
-/*
- * Copyright 2007 Wyona
- *
- * 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.wyona.org/licenses/APACHE-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.
- */
-
-package org.wyona.yanel.impl.map;
-
-import org.apache.log4j.Category;
-
-import org.wyona.yarep.core.Repository;
-import org.wyona.yarep.core.RepositoryFactory;
-
-/**
- *
- */
-public class FOAFRealm extends org.wyona.yanel.core.map.Realm {
-
- private Category log = Category.getInstance(FOAFRealm.class);
-
- Repository profilesRepo;
-
- /**
- *
- */
- public FOAFRealm(String name, String id, String mountPoint, java.io.File configFile) throws Exception {
- super(name, id, mountPoint, configFile);
- log.error("DEBUG: Custom FOAF Realm implementation!");
-
- String repoConfig = "/home/michi/src/wyona-svn/wyona/misc/foaf/jcr-data-repository.xml";
- profilesRepo = new RepositoryFactory().newRepository("profiles", new java.io.File(repoConfig));
- }
-
- /**
- *
- */
- public Repository getProfilesRepository() {
- return profilesRepo;
- }
-
- /**
- *
- */
- public void destroy() throws Exception {
- this.destroy();
- getProfilesRepository().close();
- }
-}
More information about the Yanel-commits
mailing list