/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2009 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ApplicationTypeManager.java,v 1.1 2009/08/19 05:40:32 veiming Exp $
*
* Portions Copyrighted 2015 ForgeRock AS.
*/
/**
* Application Type manager.
*/
public final class ApplicationTypeManager {
"iPlanetAMWebAgentService";
"sunAMDelegationService";
"webservices";
/**
* Returns application type names.
*
* @param adminSubject Admin Subject who has the rights to access
* configuration datastore.
* @return application type names.
*/
adminSubject, "/");
for (ApplicationType a : applications) {
}
return names;
}
/**
* Returns application type.
*
* @param adminSubject Admin Subject who has the rights to access
* configuration datastore.
* @param name Name of application type.
* @return application type.
*/
) {
adminSubject, "/");
for (ApplicationType a : applications) {
return a;
}
}
return null;
}
/**
* Removes application type.
*
* @param adminSubject Admin Subject who has the rights to access
* configuration datastore.
* @param name Name of application type.
* @throws EntitlementException if application type cannot be removed.
*/
public static void removeApplicationType(
) throws EntitlementException {
adminSubject, "/");
}
/**
* Stores application type.
*
* @param adminSubject Admin Subject who has the rights to access
* configuration datastore.
* @param appType Application type.
*/
public static void saveApplicationType(
) throws EntitlementException {
adminSubject, "/");
}
/**
* Returns search index class.
*
* @param className Search index implementation class name.
* @return search index class.
*/
return null;
}
try {
if (o instanceof ISearchIndex) {
return clazz;
}
} catch (InstantiationException ex) {
"ApplicationTypeManager.getSearchIndex", ex);
} catch (IllegalAccessException ex) {
"ApplicationTypeManager.getSearchIndex", ex);
} catch (ClassNotFoundException ex) {
"ApplicationTypeManager.getSearchIndex", ex);
}
return null;
}
/**
* Returns save index class.
*
* @param className Save index implementation class name.
* @return saveindex class.
*/
return null;
}
try {
if (o instanceof ISaveIndex) {
return clazz;
}
} catch (InstantiationException ex) {
"ApplicationTypeManager.getSaveIndex", ex);
} catch (IllegalAccessException ex) {
"ApplicationTypeManager.getSaveIndex", ex);
} catch (ClassNotFoundException ex) {
"ApplicationTypeManager.getSaveIndex", ex);
}
return null;
}
/**
* Returns resource comparator implementation class.
*
* @param className Resource comparator implementation class name.
* @return resource comparator implementation class.
*/
return null;
}
try {
if (o instanceof ResourceName) {
return clazz;
}
} catch (InstantiationException ex) {
"ApplicationTypeManager.getResourceComparator", ex);
} catch (IllegalAccessException ex) {
"ApplicationTypeManager.getResourceComparator", ex);
} catch (ClassNotFoundException ex) {
"ApplicationTypeManager.getResourceComparator", ex);
}
return null;
}
}