All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.ejb.EJBMetaData Maven / Gradle / Ivy

Go to download

This artifact provides a single jar that contains all classes required to use remote Jakarta Enterprise Beans and Jakarta Messaging, including all dependencies. It is intended for use by those not using maven, maven users should just import the Jakarta Enterprise Beans and Jakarta Messaging BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up with different versions on classes on the class path).

There is a newer version: 35.0.0.Beta1
Show newest version
package javax.ejb;

/**
 * 

The EJBMetaData interface allows a client to obtain the enterprise * Bean's meta-data information.

* *

The meta-data is intended for development tools used for building * applications that use deployed enterprise Beans, and for clients using * a scripting language to access the enterprise Bean.

* *

Note that the EJBMetaData is not a remote interface. The class that * implements this interface (this class is typically generated by container * tools) must be serializable, and must be a valid RMI/IDL value type.

*/ public interface EJBMetaData { /** * Obtains the home interface of the enterprise Bean. * * @return The home interface of the enterprise Bean. */ public EJBHome getEJBHome(); /** * Obtains the Class object for the enterprise Bean's home interface. * * @return The class object for the enterprise Bean's home interface. */ public Class getHomeInterfaceClass(); /** * Obtains the Class object for the enterprise Bean's remote interface. * * @return The class object for the enterprise Bean's remote interface. */ public Class getRemoteInterfaceClass(); /** * Obtains the Class object for the enterprise Bean's primary key class. * * @return The class object for the enterprise Bean's primary key class. */ public Class getPrimaryKeyClass(); /** * Tests if the type of the enterprise Bean is "session". * * @return True if the type of the enterprise Bean is session bean. */ public boolean isSession(); /** * Tests if the type of the enterprise Bean is "stateless session". * * @return True if the type of the enterprise Bean is stateless session. */ public boolean isStatelessSession(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy