JavaTM Application Isolation API Specification (JSR-121)
December 16, 2002
First Public Review Draft
The Application Isolation API specification.
See:
Description
The Application Isolation API specification.
All classes defined by this spec are in the
java.lang.isolate
package except java.util.prefs.TransientPreferences
.
Although class java.nio.channels.LinkChannel
, method java.lang.isolate.Link#getChannel
and some exception behavior related to
class LinkChannel are mentioned here, these constitute a proposal
for a future extension of java.nio facilities via a separate JSR and are not part
of this formal specification. A brown font is used to mark proposal text.
The proper starting point for reviewing this specification is the
java.lang.isolate package documentation.
J2ME Subset Proposals
Proposed J2ME subsetting information is embedded in the javadoc as well as
being defined in the signature lists below. These proposed subsets are currently
purely informational for review purposes only and do not constitute a part of this
specification.
Two tags related to proposed J2ME subsets are present in the javadoc and
result in the following notices:
- "This API element may not be present in some J2ME profiles."
This notice means that the documented element (method, class, etc) will be
absent from some profiles, typically because of the lack of a
dependent feature. For example, the
IsolateMessage
method newFileChannelMessage
may not be present because
NIO FileChannels are not supported in J2ME.
- "This API element must be present with the following J2ME configurations,
profiles, or optional packages:" indicates the specific cases where the
documented element must be present as follows:
- CDC - Connected Device Configuration
- CLDC - Connected Limited Device Configuration
- MIDP - Mobile Information Device Profile
- FP - Foundation Profile
- PBP - Personal Basis Profile
- PP - Personal Profile
Each of the above designations will also contain a version of the form vN.M
and multiple designations are comma separated.
The list below shows all API signatures of classes and methods that are optional
in some J2ME profiles together with designation of any configurations,
profiles, or optional packages for which the element is required.
- java.lang.isolate.IsolatePermission (class) CDCv1.0
- java.lang.isolate.LinkSerializationException (class) CDCv1.0
- java.lang.isolate.IsolateStartupException(String, String,String, StackTraceElement[])
- java.lang.isolate.IsolateStartupException.getRemoteStackTrace()
- java.lang.isolate.IsolateStartupException.printRemoteStackTrace(PrintWriter) CDCv1.0
- java.lang.isolate.IsolateMessage.newByteBufferMessage()
- java.lang.isolate.IsolateMessage.newSocketMessage() FPv1.0
- java.lang.isolate.IsolateMessage.newServerSocketMessage() FPv1.0
- java.lang.isolate.IsolateMessage.newDatagramSocketMessage() CDCv1.0
- java.lang.isolate.IsolateMessage.newFileInputStreamMessage() CDCv1.0
- java.lang.isolate.IsolateMessage.newFileOutputStreamMessage() CDCv1.0
- java.lang.isolate.IsolateMessage.newSerializableMessage() CDCv1.0
- java.lang.isolate.IsolateMessage.newPipeSinkChannelMessage()
- java.lang.isolate.IsolateMessage.newPipeSourceChannelMessage()
- java.lang.isolate.IsolateMessage.newSocketChannelMessage()
- java.lang.isolate.IsolateMessage.newServerSocketChannelMessage()
- java.lang.isolate.IsolateMessage.newDatagramSocketChannelMessage()
- java.lang.isolate.IsolateMessage.newFileChannelMessage()
- java.lang.isolate.IsolateMessage.getByteBuffer()
- java.lang.isolate.IsolateMessage.getSocket() FPv1.0
- java.lang.isolate.IsolateMessage.getServerSocket() FPv1.0
- java.lang.isolate.IsolateMessage.getDatagramSocket() CDCv1.0
- java.lang.isolate.IsolateMessage.getFileInputStream() CDCv1.0
- java.lang.isolate.IsolateMessage.getFileOutputStream() CDCv1.0
- java.lang.isolate.IsolateMessage.getSerializable() CDCv1.0
- java.lang.isolate.IsolateMessage.getPipeSinkChannel()
- java.lang.isolate.IsolateMessage.getPipeSourceChannel()
- java.lang.isolate.IsolateMessage.getSocketChannel()
- java.lang.isolate.IsolateMessage.getServerSocketChannel()
- java.lang.isolate.IsolateMessage.getDatagramSocketChannel()
- java.lang.isolate.IsolateMessage.getFileChannel()
- java.lang.isolate.IsolateMessageVisitor.visitByteBufferMessage()
- java.lang.isolate.IsolateMessageVisitor.visitSocketMessage() FPv1.0
- java.lang.isolate.IsolateMessageVisitor.visitServerSocketMessage() FPv1.0
- java.lang.isolate.IsolateMessageVisitor.visitDatagramSocketMessage() CDCv1.0
- java.lang.isolate.IsolateMessageVisitor.visitFileInputStreamMessage() CDCv1.0
- java.lang.isolate.IsolateMessageVisitor.visitFileOutputStreamMessage() CDCv1.0
- java.lang.isolate.IsolateMessageVisitor.visitSerializableMessage() CDCv1.0
- java.lang.isolate.IsolateMessageVisitor.visitPipeSourceChannelMessage()
- java.lang.isolate.IsolateMessageVisitor.visitPipeSinkChannelMessage()
- java.lang.isolate.IsolateMessageVisitor.visitSocketChannelMessage()
- java.lang.isolate.IsolateMessageVisitor.visitServerSocketChannelMessage()
- java.lang.isolate.IsolateMessageVisitor.visitDatagramSocketChannelMessage()
- java.lang.isolate.IsolateMessageVisitor.visitFileChannelMessage()
The class java.nio.channels.LinkChannel and method
java.lang.isolate.Isolate.getChannel would not be required to be present in
J2ME implementations if they become part of a future
version of the java.nio APIs and thus have a formal relationship with the JSR-121
specification.
- Since:
- 1.5