JBoss EJB client 1.0.3.Final

org.jboss.ejb.client
Class StatelessEJBLocator<T>

java.lang.Object
  extended by org.jboss.ejb.client.EJBLocator<T>
      extended by org.jboss.ejb.client.StatelessEJBLocator<T>
Type Parameters:
T - the remote view type
All Implemented Interfaces:
Serializable

public final class StatelessEJBLocator<T>
extends EJBLocator<T>

A locator for a stateless session EJB.

See Also:
Serialized Form

Constructor Summary
StatelessEJBLocator(Class<T> viewType, String appName, String moduleName, String beanName, String distinctName)
          Construct a new instance.
 
Method Summary
 boolean equals(EJBLocator<?> other)
          Determine whether this object is equal to another.
 boolean equals(Object other)
          Determine whether this object is equal to another.
 boolean equals(StatelessEJBLocator<?> other)
          Determine whether this object is equal to another.
 int hashCode()
          Get the hash code for this instance.
 String toString()
           
 
Methods inherited from class org.jboss.ejb.client.EJBLocator
createProxyInstance, getAffinity, getAppName, getBeanName, getDistinctName, getModuleName, getProxyClass, getProxyConstructor, getViewType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatelessEJBLocator

public StatelessEJBLocator(Class<T> viewType,
                           String appName,
                           String moduleName,
                           String beanName,
                           String distinctName)
Construct a new instance.

Parameters:
viewType - the view type
appName - the application name
moduleName - the module name
beanName - the bean name
distinctName - the distinct name
Method Detail

hashCode

public int hashCode()
Get the hash code for this instance.

Overrides:
hashCode in class EJBLocator<T>
Returns:
the hash code for this instance

equals

public boolean equals(Object other)
Determine whether this object is equal to another.

Overrides:
equals in class EJBLocator<T>
Parameters:
other - the other object
Returns:
true if they are equal, false otherwise

equals

public boolean equals(EJBLocator<?> other)
Determine whether this object is equal to another.

Overrides:
equals in class EJBLocator<T>
Parameters:
other - the other object
Returns:
true if they are equal, false otherwise

equals

public boolean equals(StatelessEJBLocator<?> other)
Determine whether this object is equal to another.

Parameters:
other - the other object
Returns:
true if they are equal, false otherwise

toString

public String toString()
Overrides:
toString in class Object

JBoss EJB client 1.0.3.Final

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.