org.apache.openejb.client
Class ProtocolMetaData

java.lang.Object
  extended by org.apache.openejb.client.ProtocolMetaData

public class ProtocolMetaData
extends Object

OpenEJB Enterprise Javabean Protocol (OEJP)

OEJP uses a "." numbering scheme to indicate versions of the protocol.

Protocol-Version = "OEJP" "/" 1*DIGIT "." 1*DIGIT

Some compatability is guaranteed with the major part of the version number.

Version:
$Revision$ $Date$

Field Summary
static String VERSION
           
 
Constructor Summary
ProtocolMetaData()
           
ProtocolMetaData(String version)
           
 
Method Summary
 String getId()
           
 int getMajor()
           
 int getMinor()
           
 String getSpec()
           
 String getVersion()
           
 boolean isAtLeast(int major, int minor)
           
 void readExternal(InputStream in)
           
 void writeExternal(OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

ProtocolMetaData

public ProtocolMetaData()

ProtocolMetaData

public ProtocolMetaData(String version)
Method Detail

isAtLeast

public boolean isAtLeast(int major,
                         int minor)

getId

public String getId()

getMajor

public int getMajor()

getMinor

public int getMinor()

getVersion

public String getVersion()

getSpec

public String getSpec()

writeExternal

public void writeExternal(OutputStream out)
                   throws IOException
Throws:
IOException

readExternal

public void readExternal(InputStream in)
                  throws IOException
Throws:
IOException


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.