org.apache.openejb.client
Class ClusterMetaData

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

public class ClusterMetaData
extends Object
implements Externalizable

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

Constructor Summary
ClusterMetaData()
           
ClusterMetaData(long version, URI... locations)
           
 
Method Summary
 String getConnectionStrategy()
           
 URI getLastLocation()
           
 URI[] getLocations()
           
 long getVersion()
           
 void readExternal(ObjectInput in)
           
 void setConnectionStrategy(String connectionStrategy)
           
 void setLastLocation(URI lastLocation)
           
 void writeExternal(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,
                       URI... locations)
Method Detail

getLastLocation

public URI getLastLocation()

setLastLocation

public void setLastLocation(URI lastLocation)

getLocations

public URI[] getLocations()

getVersion

public long getVersion()

setConnectionStrategy

public void setConnectionStrategy(String connectionStrategy)

getConnectionStrategy

public String getConnectionStrategy()

readExternal

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

writeExternal

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


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