Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core.runtime
Interface IRuntimeBridge


public interface IRuntimeBridge

The interface implemented by extensions wishing to expose runtimes defined through other means to the project facets framework.

Author:
Konstantin Komissarchik

Nested Class Summary
static interface IRuntimeBridge.IStub
          Represents a single bridged runtime.
static class IRuntimeBridge.Stub
          Represents a single bridged runtime.
 
Method Summary
 IRuntimeBridge.IStub bridge(String name)
          Returns a stub that represents the bridged runtime.
 Set<String> getExportedRuntimeNames()
          Returns the set of names for runtimes that this bridge wants to export.
 

Method Detail

getExportedRuntimeNames

Set<String> getExportedRuntimeNames()
                                    throws CoreException
Returns the set of names for runtimes that this bridge wants to export. The system will try to accommodate these name choices, but may have to disambiguate names due to collisions. However, even if the runtime name is changed, the name that will be passed into the bridge(String) call will be the original name provided by this method call.

Returns:
the set of names for runtimes that this bridge wants to export
Throws:
CoreException - if failed while bridging

bridge

IRuntimeBridge.IStub bridge(String name)
                            throws CoreException
Returns a stub that represents the bridged runtime. The system will wrap this stub and expose it to the clients through the IRuntime interface.

Parameters:
name - the name of the bridged runtime (as returned by the getExportedRuntimeNames()) method
Returns:
a stub that represents the bridged runtime
Throws:
CoreException - if failed while bridging

Faceted Project Framework
Version 1.3

Copyright (c) 2008 BEA Systems, Inc. and others. All rights reserved.