congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MarshalOutputStream.getAnnotation
Code IndexAdd Tabnine to your IDE (free)

How to use
getAnnotation
method
in
net.jini.io.MarshalOutputStream

Best Java code snippets using net.jini.io.MarshalOutputStream.getAnnotation (Showing top 2 results out of 315)

origin: xap/xap

/**
 * Annotates the stream descriptor for the class <code>cl</code>.
 *
 * <p><code>MarshalOutputStream</code> implements this method as follows:
 *
 * <p>This method invokes {@link RMIClassLoader#getClassAnnotation
 * RMIClassLoader.getClassAnnotation} with <code>cl</code> to get the appropriate class
 * annotation string value (possibly <code>null</code>), and then it invokes this stream's
 * {@link #writeAnnotation writeAnnotation} method with that string to record the annotation.
 *
 * @param cl the class to annotate
 * @throws IOException          if <code>writeAnnotation</code> throws an <code>IOException</code>
 * @throws NullPointerException if <code>cl</code> is <code>null</code>
 **/
protected void annotateClass(Class cl) throws IOException {
  writeAnnotation(getAnnotation(cl));
}
origin: xap/xap

/**
 * Annotates the stream descriptor for the proxy class <code>cl</code>.
 *
 * <p><code>MarshalOutputStream</code> implements this method as follows:
 *
 * <p>This method invokes {@link RMIClassLoader#getClassAnnotation
 * RMIClassLoader.getClassAnnotation} with <code>cl</code> to get the appropriate class
 * annotation string value (possibly <code>null</code>), and then it invokes this stream's
 * {@link #writeAnnotation writeAnnotation} method with that string to record the annotation.
 *
 * @param cl the proxy class to annotate
 * @throws IOException          if <code>writeAnnotation</code> throws an <code>IOException</code>
 * @throws NullPointerException if <code>cl</code> is <code>null</code>
 **/
protected void annotateProxyClass(Class cl) throws IOException {
  writeAnnotation(getAnnotation(cl));
}
net.jini.ioMarshalOutputStreamgetAnnotation

Javadoc

Returns the class CodeBase if needed or null.

Popular methods of MarshalOutputStream

  • writeObject
  • flush
  • <init>
  • close
  • writeAnnotation
    Writes a class annotation string value (possiblynull) to be read by a correspondingMarshalInputStrea
  • enableReplaceObject
  • writeLong

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now