All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cogchar.app.puma.registry.PumaRegistryClient Maven / Gradle / Ivy

/*
 *  Copyright 2012 by The Cogchar Project (www.cogchar.org).
 * 
 *  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.cogchar.app.puma.registry;

import java.util.ArrayList;
import java.util.List;
import org.appdapter.core.name.Ident;
import org.cogchar.app.puma.config.PumaConfigManager;
import org.cogchar.app.puma.config.PumaContextMediator;
//import org.cogchar.app.puma.vworld.PumaVirtualWorldMapper;
import org.cogchar.app.puma.web.PumaWebMapper;
import org.cogchar.platform.trigger.BoxSpace;
import org.cogchar.platform.trigger.CommandSpace;

/**  Legitimate PUMA application services are accessed through this interface.
 *   It is the top-level handle used by client code to interact with PUMA.
 *   PumaRegistryClient is a service object that may be registered/found through 
 *   plain OSGi registry or JFlux lifecycle.
 * @author Stu B. 
 */

public interface PumaRegistryClient {
	
	//public PumaSysCtxImpl getAppContext(Ident optSpecID);
	//public void putAppContext(PumaSysCtxImpl pac, Ident optSpecID);
	
	public PumaContextMediator getCtxMediator(Ident optSpecID);
	// public void putCtxMediator (PumaContextMediator med, Ident optSpecID);
	
	public PumaConfigManager getConfigMgr(Ident optSpecID);
	//public void putConfigMgr (PumaConfigManager pcm, Ident optSpecID);
		
	public BoxSpace getTargetBoxSpace(Ident optSpecID);
	//public void putTargetBoxSpace(BoxSpace bs, Ident optSpecID);

	public CommandSpace getCommandSpace(Ident optSpecID);
	//public void putCommandSpace(CommandSpace cs, Ident optSpecID);

//	public PumaVirtualWorldMapper getVWorldMapper(Ident optSpecID);
//	public void putVWorldMapper (PumaVirtualWorldMapper v, Ident optSpecID);
	
	public PumaWebMapper getWebMapper(Ident optSpecID);
	public void putWebMapper(PumaWebMapper wm, Ident optSpecID);

	public List getResFileCLsForCat(ResourceFileCategory cat);
	

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy