![JAR search and dependency download from the Maven repository](/logo.png)
org.frameworkset.spi.serviceidentity.ServiceIDUtil Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2008 biaoping.yin
*
* 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.frameworkset.spi.serviceidentity;
import org.frameworkset.spi.BaseApplicationContext;
import org.frameworkset.spi.remote.ServiceID;
/**
* Title: ServiceIDUtil.java
* Description:
* bboss workgroup
* Copyright (c) 2007
* @Date 2011-5-11 下午02:49:58
* @author biaoping.yin
* @version 1.0
*/
public final class ServiceIDUtil {
public static ServiceID buildServiceID(String serviceid, int serviceType, String providertype,BaseApplicationContext applicationcontext)
{
ServiceID serviceID = new DummyServiceIDImpl(serviceid, providertype,
serviceType, applicationcontext);
return serviceID;
}
public static ServiceID buildServiceID(String serviceid, int serviceType, BaseApplicationContext applicationcontext)
{
// SoftReference reference;
ServiceID serviceID = new DummyServiceIDImpl(serviceid, null,
serviceType,applicationcontext);
return serviceID;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy