Return-Path: Delivered-To: apmail-incubator-directory-cvs-archive@www.apache.org Received: (qmail 69149 invoked from network); 30 Apr 2004 02:20:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Apr 2004 02:20:25 -0000 Received: (qmail 53581 invoked by uid 500); 30 Apr 2004 02:20:07 -0000 Delivered-To: apmail-incubator-directory-cvs-archive@incubator.apache.org Received: (qmail 53543 invoked by uid 500); 30 Apr 2004 02:20:07 -0000 Mailing-List: contact directory-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: directory-dev@incubator.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list directory-cvs@incubator.apache.org Received: (qmail 53528 invoked from network); 30 Apr 2004 02:20:07 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 30 Apr 2004 02:20:07 -0000 Received: (qmail 69137 invoked by uid 65534); 30 Apr 2004 02:20:24 -0000 Date: 30 Apr 2004 02:20:24 -0000 Message-ID: <20040430022024.69130.qmail@minotaur.apache.org> From: akarasulu@apache.org To: directory-cvs@incubator.apache.org Subject: svn commit: rev 10437 - in incubator/directory/rms/trunk/je/src: java/org/apache/rms/je/profile test/org/apache/rms/je/profile X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: akarasulu Date: Thu Apr 29 19:20:24 2004 New Revision: 10437 Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileAppNameKeyCreator.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileBinding.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileDAO.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileFactory.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileUserNameKeyCreator.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/LoggingProfileDAOMonitor.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAO.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitor.java (contents, props changed) incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitorAdapter.java (contents, props changed) incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileDAOTest.java (contents, props changed) incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileFactoryTest.java (contents, props changed) Log: checking in stubs of classes that need to be implemented Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileAppNameKeyCreator.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileAppNameKeyCreator.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,70 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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 permission and + * limitations under the License. + * + */ +package org.apache.rms.je.profile ; + + +import com.sleepycat.je.DatabaseEntry ; +import com.sleepycat.je.SecondaryDatabase ; +import com.sleepycat.je.DatabaseException ; +import com.sleepycat.je.SecondaryKeyCreator ; + +import java.io.IOException; + + +/** + * A appName key creator for the Profile database's secondary database. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileAppNameKeyCreator implements SecondaryKeyCreator +{ + /** the binding used to manipulate a serialized profile */ + private final JeProfileBinding BINDING = new JeProfileBinding() ; + + + /** + * Sets the profile appName bytes for the result entry by extracting it + * from the dataEntry. + * + * @param secondaryDatabase the secondary database the new key is for + * @param keyEntry the key in the primary + * @param dataEntry the data in the primary + * @param resultEntry the new key for the secondary + * @return true if a key is created, false otherwise. + */ + public boolean createSecondaryKey( SecondaryDatabase secondaryDatabase, + DatabaseEntry keyEntry, + DatabaseEntry dataEntry, + DatabaseEntry resultEntry ) + throws DatabaseException + { + String name = null ; + + try + { + name = BINDING.getApplicationName( dataEntry ) ; + resultEntry.setData( name.getBytes( "UTF-8" ) ) ; + } + catch ( IOException e ) + { + throw new DatabaseException( e ) ; + } + + return true ; + } +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileBinding.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileBinding.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,155 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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 permission and + * limitations under the License. + * + */ +package org.apache.rms.je.profile ; + +import com.sleepycat.je.DatabaseEntry ; +import com.sleepycat.bind.tuple.TupleInput ; +import com.sleepycat.bind.tuple.TupleOutput ; +import com.sleepycat.bind.tuple.TupleBinding ; + +import java.io.IOException ; + +import org.apache.commons.lang.NotImplementedException ; + + +/** + * A JE Profile object binding. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileBinding extends TupleBinding +{ + + // ----------------------------------------------------------------------- + // TupleBinding implementations and overrides + // ----------------------------------------------------------------------- + + + /** + * Reconstructs a Profile using a serialized entry. + * + * @param tupleInput the tuple data + * @return the newly constructed Profile + * @throws java.io.IOException if there are any failures accessing the tuple data + */ + public Object entryToObject( TupleInput tupleInput ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Marshals a Profile into serialized Tuple data. + * + * @param o the profile to marshal + * @param tupleOutput + * @throws java.io.IOException + */ + public void objectToEntry( Object o, TupleOutput tupleOutput ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Marshals the members of a Profile object into a serialized Tuple rather + * than having to create a Profile object. + * + * @param entry the entry to populate + * @param appName the appName of the application + * @param userName the name of the profile's user + * @param grants the bit vector of permissions granted to the profile + * @param denials the bit vector of permissions denied from the profile + * @param permissions the bit vector of effective calculated permissions + * @throws java.io.IOException if there are failures writing the data + */ + public void membersToEntry( DatabaseEntry entry, String appName, + String userName, byte[] grants, byte[] denials, + byte[] permissions ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets the name of the application stored within the database entry. + * + * @param entry the database entry for the profile + * @return the profile's application name field + * @throws java.io.IOException if there are failures reading from the entry + */ + public String getApplicationName( DatabaseEntry entry ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets the name of the profile's user stored within the database entry. + * + * @param entry the database entry for the user profile + * @return the profile's user name field + * @throws java.io.IOException if there are failures reading from the entry + */ + public String getUserName( DatabaseEntry entry ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Extracts the permissions separately granted to the Profile from the + * database entry. + * + * @param entry the database entry to extract permission grants from + * @return the bytes representing the permission grants bit vector + * @throws IOException if there are failures accessing the entry + */ + public byte[] getGrants( DatabaseEntry entry ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Extracts the permissions separately denied from the Profile from the + * database entry. + * + * @param entry the database entry to extract permission denials from + * @return the bytes representing the permission denials bit vector + * @throws IOException if there are failures accessing the entry + */ + public byte[] getDenials( DatabaseEntry entry ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Extracts the effective calculated permissions of the Profile from the + * database entry. + * + * @param entry the database entry to extract permissions from + * @return the bytes representing the effective permission bit vector + * @throws IOException if there are failures accessing the entry + */ + public byte[] getPermissions( DatabaseEntry entry ) throws IOException + { + throw new NotImplementedException( "STUB" ) ; + } +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileDAO.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileDAO.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,28 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +/** + * Je database based Profile data access object implementation. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileDAO implements ProfileDAO +{ +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileFactory.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileFactory.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,189 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +import org.apache.rms.Profile ; +import org.apache.rms.Application ; +import org.apache.rms.RmsException ; +import org.apache.rms.spi.ProfileFactory ; +import org.apache.rms.spi.MutableProfile ; +import org.apache.rms.spi.MutableApplication ; + +import org.apache.commons.lang.NotImplementedException ; + +import java.util.Map ; +import java.util.Iterator ; + + +/** + * A JE based ProfileFactory implementation. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileFactory implements ProfileFactory +{ + /** + * Gets a User's Profile for an Application. + * + * @param application the Application + * @param userName the name of the User + * @return the Profile associated with the User and the Application or + * null if one does not exist + */ + public Profile getProfile( Application application, String userName ) + throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets a map of User name Strings mapped to their Profile objects for an + * Application. + * + * @param application the Application + * @return the map of User name keys mapped to respective User objects + */ + public Map getProfiles( Application application ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets a map of Application name Strings mapped to Profile objects for + * Users. + * + * @param userName the name of the Profile's User + * @return the map of User name keys mapped to respective User objects + */ + public Map getProfiles( String userName ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets an iteration over the set of usernames that have profiles + * associated with the application. + * + * @param applicationName the name of the Application + * @return an Iterator over a set of username Strings + */ + public Iterator getUserNames( String applicationName ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Gets an iteration over the set of Application names that have Profiles + * associated with a User. + * + * @param userName the name of the User + * @return an Iterator over a set of Application name Strings + */ + public Iterator getApplicationNames( String userName ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Creates a new application profile for a user. + * + * @param app the application to create the profile for + * @param userName the name of the user + * @return the newly created profile + * @throws org.apache.rms.RmsException if there are problems accessing + * the underlying backing store + */ + public MutableProfile create( MutableApplication app, String userName ) + throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Deletes a User's Profile for an Application + * + * @param appName the name of the Application to delete the Profile for + * @param userName the name of the User to delete the Profile for + * @throws org.apache.rms.RmsException if there are problems accessing + * the underlying backing store + */ + public void deleteProfile( String appName, String userName ) + throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Updates the permission vectors of a profile. + * + * @param appName the name of the profile's application + * @param userName the name of the profile's user + * @param grants the grants bit vector + * @param denials the denials bit vector + * @return the new effective permission + * @throws org.apache.rms.RmsException if there is a failure to access + * the backing store + */ + public byte[] update( String appName, String userName, byte[] grants, + byte[] denials ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Adds a role to a user's application profile. + * + * @param appName the name of the application + * @param userName the name of the user + * @param roleName the name of the role + * @return the new effective permission + * @throws org.apache.rms.RmsException if there is a failure to access + * the backing store + */ + public byte[] addRole( String appName, String userName, String roleName ) + throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } + + + /** + * Removes a role from a user's application profile. + * + * @param appName the name of the application + * @param userName the name of the user + * @param roleName the name of the role + * @return the new effective permission + * @throws org.apache.rms.RmsException if there is a failure to access the + * backing store + */ + public byte[] removeRole( String appName, String userName, + String roleName ) throws RmsException + { + throw new NotImplementedException( "STUB" ) ; + } +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileUserNameKeyCreator.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/JeProfileUserNameKeyCreator.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,70 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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 permission and + * limitations under the License. + * + */ +package org.apache.rms.je.profile ; + + +import com.sleepycat.je.DatabaseEntry ; +import com.sleepycat.je.SecondaryDatabase ; +import com.sleepycat.je.DatabaseException ; +import com.sleepycat.je.SecondaryKeyCreator ; + +import java.io.IOException; + + +/** + * A userName key creator for the Profile database's secondary database. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileUserNameKeyCreator implements SecondaryKeyCreator +{ + /** the binding used to manipulate a serialized profile */ + private final JeProfileBinding BINDING = new JeProfileBinding() ; + + + /** + * Sets the profile userName bytes for the result entry by extracting it + * from the dataEntry. + * + * @param secondaryDatabase the secondary database the new key is for + * @param keyEntry the key in the primary + * @param dataEntry the data in the primary + * @param resultEntry the new key for the secondary + * @return true if a key is created, false otherwise. + */ + public boolean createSecondaryKey( SecondaryDatabase secondaryDatabase, + DatabaseEntry keyEntry, + DatabaseEntry dataEntry, + DatabaseEntry resultEntry ) + throws DatabaseException + { + String name = null ; + + try + { + name = BINDING.getUserName( dataEntry ) ; + resultEntry.setData( name.getBytes( "UTF-8" ) ) ; + } + catch ( IOException e ) + { + throw new DatabaseException( e ) ; + } + + return true ; + } +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/LoggingProfileDAOMonitor.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/LoggingProfileDAOMonitor.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,36 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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 permission and + * limitations under the License. + * + */ +package org.apache.rms.je.profile ; + + +import org.apache.commons.logging.Log ; +import org.apache.commons.logging.LogFactory ; +import org.apache.rms.je.application.ApplicationDAO ; + + +/** + * A logging monitor for Profile data access objects. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class LoggingProfileDAOMonitor implements ProfileDAOMonitor +{ + /** the log used by this logging monitor */ + private Log log = LogFactory.getLog( ApplicationDAO.class ) ; + +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAO.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAO.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,28 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +/** + * Profile data access object interface. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public interface ProfileDAO +{ +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitor.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitor.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,28 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +/** + * The monitor interface for a Profile data access object. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public interface ProfileDAOMonitor +{ +} Added: incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitorAdapter.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/java/org/apache/rms/je/profile/ProfileDAOMonitorAdapter.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,29 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +/** + * A no-op monitor adapter which at a bare minimum dumps exception stack + * traces to stderr. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class ProfileDAOMonitorAdapter +{ +} Added: incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileDAOTest.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileDAOTest.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,46 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +import org.apache.rms.je.AbstractJeTest ; + + +/** + * A unit test case for a Je based Profile data access object. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileDAOTest extends AbstractJeTest +{ + /** the Je based Profile data access object to test*/ + JeProfileDAO dao = null ; + + + protected void setUp() throws Exception + { + super.setUp() ; + } + + + protected void tearDown() throws Exception + { + super.tearDown() ; + dao = null ; + } +} \ No newline at end of file Added: incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileFactoryTest.java ============================================================================== --- (empty file) +++ incubator/directory/rms/trunk/je/src/test/org/apache/rms/je/profile/JeProfileFactoryTest.java Thu Apr 29 19:20:24 2004 @@ -0,0 +1,50 @@ +/* + * Copyright 2004 The Apache Software Foundation + * + * 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. + * + */ +package org.apache.rms.je.profile ; + + +import org.apache.rms.je.AbstractJeTest ; + + +/** + * A unit test case for a Je based Profile factory. + * + * @author Apache Directory Project + * @version $Rev$ + */ +public class JeProfileFactoryTest extends AbstractJeTest +{ + /** the Je based Profile data access object */ + JeProfileDAO dao = null ; + /** the Je based Profile factory to test */ + JeProfileFactory factory = null ; + + + + protected void setUp() throws Exception + { + super.setUp() ; + } + + + protected void tearDown() throws Exception + { + super.tearDown() ; + dao = null ; + factory = null ; + } +} \ No newline at end of file