![JAR search and dependency download from the Maven repository](/logo.png)
net.officefloor.spring.SpringDependency Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of officespring Show documentation
Show all versions of officespring Show documentation
OfficeFloor plug-in for Spring
/*
* OfficeFloor - http://www.officefloor.net
* Copyright (C) 2005-2018 Daniel Sagenschneider
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package net.officefloor.spring;
import net.officefloor.frame.api.manage.OfficeFloor;
/**
* Spring dependency on {@link OfficeFloor}.
*
* @author Daniel Sagenschneider
*/
public class SpringDependency {
/**
* Qualifier. May be null
.
*/
private final String qualifier;
/**
* Object type.
*/
private final Class> objectType;
/**
* Instantiate.
*
* @param qualifier Qualifier. May be null
.
* @param objectType Object type.
*/
public SpringDependency(String qualifier, Class> objectType) {
this.qualifier = qualifier;
this.objectType = objectType;
}
/**
* Obtains the qualifier.
*
* @return Qualifier. May be null
.
*/
public String getQualifier() {
return qualifier;
}
/**
* Obtains the object type.
*
* @return Object type.
*/
public Class> getObjectType() {
return objectType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy