|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Observable
org.eclipse.hyades.execution.core.loader.ScopedChannelClassLoader.Provider
The scoped channel class loader provider class is used by the provider of the classes that will be served up through the channel to the consuming instance of the scoped channel class loader
| Constructor Summary | |
|---|---|
ScopedChannelClassLoader.Provider(java.lang.String context,
java.lang.ClassLoader sourceClassLoader,
java.nio.channels.ReadableByteChannel readableChannel,
java.nio.channels.WritableByteChannel writableChannel,
int maximumClassSize)
Constructs a scoped channel class loader provider, used to serve up resources/classes to the consuming instance |
|
| Method Summary | |
|---|---|
void |
provide()
Provides the resources requested by the remote end of the channel, an end diretive received will cause the provide method to return to the caller and therefore unblock the caller |
java.lang.String |
toString()
Output textual representation of provider instance |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ScopedChannelClassLoader.Provider(java.lang.String context,
java.lang.ClassLoader sourceClassLoader,
java.nio.channels.ReadableByteChannel readableChannel,
java.nio.channels.WritableByteChannel writableChannel,
int maximumClassSize)
context - the context this command is executing withinsourceClassLoader - the classloader used to resolve resources to be sent over
the channelreadableChannel - the channel that offers control to this instancewritableChannel - the channel that provides data and minimal control to the
consuming instancemaximumClassSize - used to optimize buffers, all class sizes must be less
than this number in kilobytes, for example, 64 = (64 *
1024) bytes maximum class size| Method Detail |
public void provide()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||