org.jfox.ejb
Class EJBMetaDataImpl

java.lang.Object
  extended byorg.jfox.ejb.EJBMetaDataImpl
All Implemented Interfaces:
javax.ejb.EJBMetaData, java.io.Serializable

public class EJBMetaDataImpl
extends java.lang.Object
implements javax.ejb.EJBMetaData, java.io.Serializable

实现 EJBMetaData 接口,为了实现数据交换最小化,只包括最简单的数据

See Also:
Serialized Form

Constructor Summary
EJBMetaDataImpl(java.lang.Class homeInterfaceClass, java.lang.Class remoteInterfaceClass, boolean isSession, boolean isStatelessSession)
           
 
Method Summary
 javax.ejb.EJBHome getEJBHome()
           
 java.lang.Class getHomeInterfaceClass()
           
 java.lang.Class getPrimaryKeyClass()
           
 java.lang.Class getRemoteInterfaceClass()
           
 boolean isSession()
           
 boolean isStatelessSession()
           
static void main(java.lang.String[] args)
           
 void setEJBHome(javax.ejb.EJBHome home)
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBMetaDataImpl

public EJBMetaDataImpl(java.lang.Class homeInterfaceClass,
                       java.lang.Class remoteInterfaceClass,
                       boolean isSession,
                       boolean isStatelessSession)
Method Detail

getEJBHome

public javax.ejb.EJBHome getEJBHome()
Specified by:
getEJBHome in interface javax.ejb.EJBMetaData

setEJBHome

public void setEJBHome(javax.ejb.EJBHome home)

getHomeInterfaceClass

public java.lang.Class getHomeInterfaceClass()
Specified by:
getHomeInterfaceClass in interface javax.ejb.EJBMetaData

getRemoteInterfaceClass

public java.lang.Class getRemoteInterfaceClass()
Specified by:
getRemoteInterfaceClass in interface javax.ejb.EJBMetaData

getPrimaryKeyClass

public java.lang.Class getPrimaryKeyClass()
Specified by:
getPrimaryKeyClass in interface javax.ejb.EJBMetaData

isSession

public boolean isSession()
Specified by:
isSession in interface javax.ejb.EJBMetaData

isStatelessSession

public boolean isStatelessSession()
Specified by:
isStatelessSession in interface javax.ejb.EJBMetaData

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns:
a string representation of the object.

main

public static void main(java.lang.String[] args)