2 * Copyright [2007] [University Corporation for Advanced Internet Development, Inc.]
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package edu.internet2.middleware.shibboleth.idp.config.service;
19 import java.util.List;
21 import edu.internet2.middleware.shibboleth.common.config.BaseService;
24 * Collection of services loaded by the IdP.
26 public class IdPServicesBean {
28 /** Logging service for the IdP. */
29 private IdPLoggingService loggingService;
31 /** Serivce components loaded into the IdP. */
32 private List<BaseService> services;
37 * @param logging logging service for the IdP
38 * @param loadedServices service components loaded into the IdP
40 public IdPServicesBean(IdPLoggingService logging, List<BaseService> loadedServices) {
41 loggingService = logging;
42 services = loadedServices;
46 * Gets the logging service for the IdP.
48 * @return logging service for the IdP
50 public IdPLoggingService getLoggingService() {
51 return loggingService;
55 * Gets the service components loaded into the IdP.
57 * @return service components loaded into the IdP
59 public List<BaseService> getServices() {