org.objectweb.speedo.ejb
Class EJBPersonality

java.lang.Object
  extended by org.objectweb.speedo.lib.Personality
      extended by org.objectweb.speedo.ejb.EJBPersonality
All Implemented Interfaces:
java.io.Serializable

public final class EJBPersonality
extends Personality

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.speedo.lib.Personality
EJB, JDO
 
Constructor Summary
EJBPersonality()
           
 
Method Summary
 java.lang.Class getDetachedFieldAccessRuntimeExceptionClass()
           
 java.lang.Class getFatalRuntimeExceptionClass()
          Retrieve the runtime fatal exception class dedicated to the relevant personality.
 java.lang.Class getPOMClass()
          Retrieve the PersistentObjectManager class for the associated personality.
 java.lang.Class getPOMFClass()
          Retrieve the PersistentObjectManagerFactory class for the associated personality.
 java.lang.Class getRuntimeExceptionClass()
          Retrieve the runtime user exception class dedicated to the relevant personality.
 java.lang.Class getUserRuntimeExceptionClass()
          Retrieve the runtime user exception class dedicated to the relevant personality.
 java.lang.RuntimeException newDataStoreRuntimeException(java.lang.String msg)
           
 java.lang.RuntimeException newDataStoreRuntimeException(java.lang.String msg, java.lang.Throwable nested)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException()
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg, java.lang.Throwable nested)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg, java.lang.Throwable[] nested)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.Throwable nested)
           
 java.lang.RuntimeException newFatalRuntimeException()
          Retrieve the runtime fatal exception dedicated to the relevant personality.
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg, java.lang.Throwable nested)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg, java.lang.Throwable[] nested)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
           
 java.lang.RuntimeException newFatalRuntimeException(java.lang.Throwable nested)
           
 java.lang.RuntimeException newRuntimeException()
          Retrieve the basic runtime exception dedicated to the relevant personality.
 java.lang.RuntimeException newRuntimeException(java.lang.String msg)
           
 java.lang.RuntimeException newRuntimeException(java.lang.String msg, java.lang.Object failed)
           
 java.lang.RuntimeException newRuntimeException(java.lang.String msg, java.lang.Throwable nested)
           
 java.lang.RuntimeException newRuntimeException(java.lang.String msg, java.lang.Throwable[] nested)
           
 java.lang.RuntimeException newRuntimeException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
           
 java.lang.RuntimeException newRuntimeException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
           
 java.lang.RuntimeException newRuntimeException(java.lang.Throwable nested)
           
 java.lang.RuntimeException newUserRuntimeException()
          Retrieve the runtime user exception dedicated to the relevant personality.
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg, java.lang.Object failed)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg, java.lang.Throwable nested)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg, java.lang.Throwable[] nested)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg, java.lang.Throwable[] nested, java.lang.Object failed)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.String msg, java.lang.Throwable nested, java.lang.Object failed)
           
 java.lang.RuntimeException newUserRuntimeException(java.lang.Throwable nested)
           
 
Methods inherited from class org.objectweb.speedo.lib.Personality
getDetachedFieldAccessExceptionClassNameSlash, getFatalRuntimeExceptionClassNameDot, getFatalRuntimeExceptionClassNameSlash, getGenClassName, getName, getPersonalityClassName, getRuntimeExceptionClassNameDot, getRuntimeExceptionClassNameSlash, getUserRuntimeExceptionClassNameDot, getUserRuntimeExceptionClassNameSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBPersonality

public EJBPersonality()
Method Detail

newRuntimeException

public java.lang.RuntimeException newRuntimeException()
Description copied from class: Personality
Retrieve the basic runtime exception dedicated to the relevant personality.

Specified by:
newRuntimeException in class Personality
Returns:
The class of the user exception to be thrown.

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg,
                                                      java.lang.Throwable[] nested)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg,
                                                      java.lang.Throwable nested)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg,
                                                      java.lang.Object failed)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg,
                                                      java.lang.Throwable[] nested,
                                                      java.lang.Object failed)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.String msg,
                                                      java.lang.Throwable nested,
                                                      java.lang.Object failed)
Specified by:
newRuntimeException in class Personality

newRuntimeException

public java.lang.RuntimeException newRuntimeException(java.lang.Throwable nested)
Specified by:
newRuntimeException in class Personality

getRuntimeExceptionClass

public java.lang.Class getRuntimeExceptionClass()
Description copied from class: Personality
Retrieve the runtime user exception class dedicated to the relevant personality.

Specified by:
getRuntimeExceptionClass in class Personality
Returns:
The class of the user exception to be thrown.

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException()
Description copied from class: Personality
Retrieve the runtime user exception dedicated to the relevant personality.

Specified by:
newUserRuntimeException in class Personality
Returns:
The class of the user exception to be thrown.

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg,
                                                          java.lang.Throwable[] nested)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg,
                                                          java.lang.Throwable nested)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg,
                                                          java.lang.Object failed)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg,
                                                          java.lang.Throwable[] nested,
                                                          java.lang.Object failed)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.String msg,
                                                          java.lang.Throwable nested,
                                                          java.lang.Object failed)
Specified by:
newUserRuntimeException in class Personality

newUserRuntimeException

public java.lang.RuntimeException newUserRuntimeException(java.lang.Throwable nested)
Specified by:
newUserRuntimeException in class Personality

getUserRuntimeExceptionClass

public java.lang.Class getUserRuntimeExceptionClass()
Description copied from class: Personality
Retrieve the runtime user exception class dedicated to the relevant personality.

Specified by:
getUserRuntimeExceptionClass in class Personality
Returns:
The class of the user exception to be thrown.

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException()
Description copied from class: Personality
Retrieve the runtime fatal exception dedicated to the relevant personality.

Specified by:
newFatalRuntimeException in class Personality
Returns:
The class of the user exception to be thrown.

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg,
                                                           java.lang.Throwable[] nested)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg,
                                                           java.lang.Throwable nested)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg,
                                                           java.lang.Object failed)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg,
                                                           java.lang.Throwable[] nested,
                                                           java.lang.Object failed)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.String msg,
                                                           java.lang.Throwable nested,
                                                           java.lang.Object failed)
Specified by:
newFatalRuntimeException in class Personality

newFatalRuntimeException

public java.lang.RuntimeException newFatalRuntimeException(java.lang.Throwable nested)
Specified by:
newFatalRuntimeException in class Personality

getFatalRuntimeExceptionClass

public java.lang.Class getFatalRuntimeExceptionClass()
Description copied from class: Personality
Retrieve the runtime fatal exception class dedicated to the relevant personality.

Specified by:
getFatalRuntimeExceptionClass in class Personality
Returns:
The class of the user exception to be thrown.

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException()
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg,
                                                                    java.lang.Object failed)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg,
                                                                    java.lang.Throwable nested,
                                                                    java.lang.Object failed)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg,
                                                                    java.lang.Throwable nested)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg,
                                                                    java.lang.Throwable[] nested,
                                                                    java.lang.Object failed)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg,
                                                                    java.lang.Throwable[] nested)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.String msg)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newFatalDataStoreRuntimeException

public java.lang.RuntimeException newFatalDataStoreRuntimeException(java.lang.Throwable nested)
Specified by:
newFatalDataStoreRuntimeException in class Personality

newDataStoreRuntimeException

public java.lang.RuntimeException newDataStoreRuntimeException(java.lang.String msg,
                                                               java.lang.Throwable nested)
Specified by:
newDataStoreRuntimeException in class Personality

newDataStoreRuntimeException

public java.lang.RuntimeException newDataStoreRuntimeException(java.lang.String msg)
Specified by:
newDataStoreRuntimeException in class Personality

getDetachedFieldAccessRuntimeExceptionClass

public java.lang.Class getDetachedFieldAccessRuntimeExceptionClass()
Specified by:
getDetachedFieldAccessRuntimeExceptionClass in class Personality

getPOMClass

public java.lang.Class getPOMClass()
Description copied from class: Personality
Retrieve the PersistentObjectManager class for the associated personality.

Specified by:
getPOMClass in class Personality
Returns:
The Java class.

getPOMFClass

public java.lang.Class getPOMFClass()
Description copied from class: Personality
Retrieve the PersistentObjectManagerFactory class for the associated personality.

Specified by:
getPOMFClass in class Personality
Returns:
The Java class.