Package Thor.API.Base
Class tcBaseUtilityClient
java.lang.Object
Thor.API.Base.tcBaseUtilityClient
- All Implemented Interfaces:
Serializable,tcUtilityOperationsIntf
public abstract class tcBaseUtilityClient
extends Object
implements tcUtilityOperationsIntf, Serializable
Base utility client-side class. All client-side Utility/API classes
must extend from this class. It provides all the base functionality
necessary for a client-side object.
- Author:
- Felix Lipov
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This method will try to remove the bean instance on the server side so that the bean can return to the ready pool.voidclose(boolean calledFromFinalize) This method will notify the object manager that it is finished with the server-side object, and can remove it from the orb.getName()Returns the descriptive name.voidsetCountry(String psCountry) Sets the country.voidsetLanguage(String psLanguage) Sets the language.voidsetVariant(String psVariant) Sets the variant.
-
Method Details
-
getName
Returns the descriptive name.- Specified by:
getNamein interfacetcUtilityOperationsIntf- Returns:
- The name.
- Throws:
tcAPIException- If the server-side class cannot be retrieved
-
setLanguage
Sets the language. Used in defining the locality that this utility class represents. Only to be called bytcUtilityIntf.- Specified by:
setLanguagein interfacetcUtilityOperationsIntf- Parameters:
psLanguage- The language.
-
setCountry
Sets the country. Used in defining the locality that this utility class represents. Only to be called bytcUtilityIntf.- Specified by:
setCountryin interfacetcUtilityOperationsIntf- Parameters:
psCountry- The country.
-
setVariant
Sets the variant. Used in defining the locality that this utility class represents. Only to be called bytcUtilityIntf.- Specified by:
setVariantin interfacetcUtilityOperationsIntf- Parameters:
psVariant- The locality variant.
-
close
public void close()This method will try to remove the bean instance on the server side so that the bean can return to the ready pool.- Specified by:
closein interfacetcUtilityOperationsIntf
-
close
public void close(boolean calledFromFinalize) This method will notify the object manager that it is finished with the server-side object, and can remove it from the orb.
-