Class EJBMetaDataImpl

java.lang.Object
org.jboss.ejb.client.EJBMetaDataImpl
All Implemented Interfaces:
EJBMetaData, Serializable

@Deprecated public final class EJBMetaDataImpl extends Object implements EJBMetaData, Serializable
Deprecated.
Retained for compatibility with older protocol versions; use the AbstractEJBMetaData hierarchy instead.
An implementation of the EJBMetaData interface which allows a client to obtain the enterprise Bean's meta-data information.
Author:
Stuart Douglas
See Also:
  • Constructor Details

    • EJBMetaDataImpl

      public EJBMetaDataImpl(Class<?> remoteClass, Class<? extends EJBHome> homeClass, Class<?> pkClass, boolean session, boolean statelessSession, EJBHome home)
      Deprecated.
    • EJBMetaDataImpl

      public EJBMetaDataImpl(AbstractEJBMetaData<?,?> ejbMetaData)
      Deprecated.
  • Method Details

    • toAbstractEJBMetaData

      public AbstractEJBMetaData<?,?> toAbstractEJBMetaData()
      Deprecated.
    • getEJBHome

      public EJBHome getEJBHome()
      Deprecated.
      Obtains the home interface of the enterprise Bean.
      Specified by:
      getEJBHome in interface EJBMetaData
      Returns:
      the remote home interface of the enterprise bean.
    • getHomeInterfaceClass

      public Class<? extends EJBHome> getHomeInterfaceClass()
      Deprecated.
      Obtains the Class object for the enterprise Bean's home interface.
      Specified by:
      getHomeInterfaceClass in interface EJBMetaData
      Returns:
      the class object for the enterprise bean's remote home interface.
    • getRemoteInterfaceClass

      public Class<?> getRemoteInterfaceClass()
      Deprecated.
      Obtains the Class object for the enterprise Bean's remote interface.
      Specified by:
      getRemoteInterfaceClass in interface EJBMetaData
      Returns:
      the class object for the enterprise bean's remote interface.
    • getPrimaryKeyClass

      public Class<?> getPrimaryKeyClass()
      Deprecated.
      Obtains the Class object for the enterprise Bean's primary key class.
      Specified by:
      getPrimaryKeyClass in interface EJBMetaData
      Returns:
      the class object for the enterprise bean's primary key class.
    • isSession

      public boolean isSession()
      Deprecated.
      Tests if the enterprise Bean's type is "session".
      Specified by:
      isSession in interface EJBMetaData
      Returns:
      true if the type of the enterprise Bean is session bean.
    • isStatelessSession

      public boolean isStatelessSession()
      Deprecated.
      Tests if the enterprise Bean's type is "stateless session".
      Specified by:
      isStatelessSession in interface EJBMetaData
      Returns:
      true if the type of the enterprise Bean is stateless session.