Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH . All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: s IT Solutions AT Spardat GmbH - initial API and implementation /
/*
 * Created on : 26.01.2004
 * Created by : s3595
 */
package at.spardat.xma.boot.component;

interface used by the runtime to communicate with the boot runtime

Author(s):
s3595
Version:
$Id: IBootRuntime.java 2084 2007-11-27 14:53:31Z s3460 $
public interface IBootRuntime {

    
get a component

Parameters:
component the absolute uri of the desired component in another or the same webapplication.
Returns:
IComponent the component
Throws:
java.lang.Exception unable to load, create or instantiate the component
    public IComponent getComponentString componentthrows Exception;

    
cleanup components and application resources. logout from application, if this component is the last one for this application.

Parameters:
rtc the terminating component
    public void endComponent(IComponent rtc) ;

    
get digest (version hash code) for the current application

Returns:
digest byte array
    public byte[] getDigest();

    
get the name of the class that implements the interface name given as input parameter. returns the client implemenation

Parameters:
interfaceName name of the plugin interface
Returns:
name of the implementation class.
    public String getPluginImplClientString interfaceName );
New to GrepCode? Check out our FAQ X