Compoze Software, Inc.

com.compoze.ejb
Class ClassDetection


java.lang.Object

  |

  +--com.compoze.ejb.ClassDetection

All Implemented Interfaces:
IDetection

public abstract class ClassDetection
extends java.lang.Object
implements IDetection

Classes that implement this interface are capable of detecting the current application server.


Constructor Summary
ClassDetection()
           
 
Method Summary
protected abstract  java.lang.String getClassName()
          Gets the class name of the class to detect.
abstract  java.lang.String getName()
          Gets the configuration name of the application server that is currently running.
 boolean isDetected()
          Returns true if the application server is detected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDetection


public ClassDetection()
Method Detail

isDetected


public boolean isDetected()
Returns true if the application server is detected.
Specified by:
isDetected in interface IDetection
Returns:
true if the server is detected

getName


public abstract java.lang.String getName()
Gets the configuration name of the application server that is currently running.
Specified by:
getName in interface IDetection
Returns:
the name of the detected server

getClassName


protected abstract java.lang.String getClassName()
Gets the class name of the class to detect.
Returns:
the class name

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.