FileDocCategorySizeDatePackage
ConnectionMgrImpl.javaAPI DocGlassfish v2 API8836Fri May 04 22:24:50 BST 2007com.sun.cli.jmx.cmd

Connection

public final class Connection extends Object

Fields Summary
public String
mName
public JMXConnector
mConn
public ConnectInfo
mConnectInfo
Constructors Summary
public Connection(String name, ConnectInfo connectInfo, JMXConnector conn)

		assert( name != null );
		assert( connectInfo != null );
		assert( conn != null );
		
		mName			= name;
		// clone this; we don't want it changing
		mConnectInfo	= new ConnectInfo( connectInfo );
		mConn			= conn;
	
Methods Summary
public booleanequals(java.lang.Object o)

		if ( o == this )
			return( true );
		if ( ! (o instanceof Connection ) )
		{
			return( false );
		}
		
		final Connection	rhs	= (Connection)o;
		
		return( mName.equals( rhs.mName ) && mConnectInfo.equals( rhs.mConnectInfo ) );