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 TypeMethodDescriptionvoid
close()
This method will try to remove the bean instance on the server side so that the bean can return to the ready pool.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.getName()
Returns the descriptive name.void
setCountry
(String psCountry) Sets the country.void
setLanguage
(String psLanguage) Sets the language.void
setVariant
(String psVariant) Sets the variant.
-
Method Details
-
getName
Returns the descriptive name.- Specified by:
getName
in 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:
setLanguage
in 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:
setCountry
in 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:
setVariant
in 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:
close
in 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.
-