org.apache.openejb.client
Class ClusterMetaData

java.lang.Object
  extended by org.apache.openejb.client.ClusterMetaData
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ClusterMetaData
extends java.lang.Object
implements java.io.Externalizable

Version:
$Rev$ $Date$
See Also:
Serialized Form

Constructor Summary
ClusterMetaData()
           
ClusterMetaData(long version, java.net.URI... locations)
           
 
Method Summary
 java.lang.String getConnectionStrategy()
           
 java.net.URI getLastLocation()
           
 java.net.URI[] getLocations()
           
 long getVersion()
           
 void readExternal(java.io.ObjectInput in)
           
 void setConnectionStrategy(java.lang.String connectionStrategy)
           
 void setLastLocation(java.net.URI lastLocation)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterMetaData

public ClusterMetaData()

ClusterMetaData

public ClusterMetaData(long version,
                       java.net.URI... locations)
Method Detail

getLastLocation

public java.net.URI getLastLocation()

setLastLocation

public void setLastLocation(java.net.URI lastLocation)

getLocations

public java.net.URI[] getLocations()

getVersion

public long getVersion()

setConnectionStrategy

public void setConnectionStrategy(java.lang.String connectionStrategy)

getConnectionStrategy

public java.lang.String getConnectionStrategy()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.