org.mc4j.ems.connection.support.metadata
Class AbstractConnectionTypeDescriptor

java.lang.Object
  extended by org.mc4j.ems.connection.support.metadata.AbstractConnectionTypeDescriptor
All Implemented Interfaces:
java.io.Serializable, ConnectionTypeDescriptor
Direct Known Subclasses:
JBossConnectionTypeDescriptor, JDMKConnectionTypeDescriptor, JSR160ConnectionTypeDescriptor, Mx4jConnectionTypeDescriptor, Oc4jConnectionTypeDescriptor, PramatiConnectionTypeDescriptor, WeblogicConnectionTypeDescriptor, WebsphereConnectionTypeDescriptor

public abstract class AbstractConnectionTypeDescriptor
extends java.lang.Object
implements ConnectionTypeDescriptor

Version:
$Revision: 1.3 $($Author: ghinkl $ / $Date: 2006/05/22 02:38:52 $)
Author:
Greg Hinkle (ghinkle@users.sourceforge.net), Sep 30, 2004
See Also:
Serialized Form

Constructor Summary
AbstractConnectionTypeDescriptor()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Properties getDefaultAdvancedProperties()
           
 java.lang.String getExtrasLibrary()
           
 java.lang.String getServerVersion(java.io.File recognitionFile)
           
 int hashCode()
           
 boolean isUseChildFirstClassLoader()
          True if the ClassLoaderFactory should use the connection specific library classes before using the system classes.
 boolean isUseManagementHome()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mc4j.ems.connection.support.metadata.ConnectionTypeDescriptor
getConnectionClasspathEntries, getConnectionMessage, getConnectionNodeClassName, getConnectionType, getDefaultCredentials, getDefaultInitialContext, getDefaultJndiName, getDefaultPrincipal, getDefaultServerUrl, getDisplayName, getRecongnitionPath, isMEJBCompliant
 

Constructor Detail

AbstractConnectionTypeDescriptor

public AbstractConnectionTypeDescriptor()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isUseManagementHome

public boolean isUseManagementHome()
Specified by:
isUseManagementHome in interface ConnectionTypeDescriptor

getServerVersion

public java.lang.String getServerVersion(java.io.File recognitionFile)
Specified by:
getServerVersion in interface ConnectionTypeDescriptor

getExtrasLibrary

public java.lang.String getExtrasLibrary()
Specified by:
getExtrasLibrary in interface ConnectionTypeDescriptor

getDefaultAdvancedProperties

public java.util.Properties getDefaultAdvancedProperties()
Specified by:
getDefaultAdvancedProperties in interface ConnectionTypeDescriptor

isUseChildFirstClassLoader

public boolean isUseChildFirstClassLoader()
Description copied from interface: ConnectionTypeDescriptor
True if the ClassLoaderFactory should use the connection specific library classes before using the system classes. This may be, for example, to utilize the WebSphere or WebLogic JMX classes instead of the JDK 1.5 classes.

Specified by:
isUseChildFirstClassLoader in interface ConnectionTypeDescriptor
Returns:
true if connection classes should be used first

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object