Class ResourceConnection
java.lang.Object
com.aquima.interactions.foundation.connectivity.impl.ResourceConnection
- All Implemented Interfaces:
IConnection
,IResourceConnection
This class implements the resource connection interface.
- Since:
- 6.3
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsConstructorDescriptionResourceConnection
(String name, IResource resource) Constructs the connection object with the required parameters.ResourceConnection
(String name, String path, IResourceManager manager) Constructs the connection object with the required parameters. -
Method Summary
-
Constructor Details
-
ResourceConnection
Constructs the connection object with the required parameters.- Parameters:
name
- The (unique) name of the connection.resource
- The resource that should be used.
-
ResourceConnection
public ResourceConnection(String name, String path, IResourceManager manager) throws ResourceException Constructs the connection object with the required parameters.- Parameters:
name
- The (unique) name of the connection.path
- The path to the resource.manager
- The resource manager that should be used to locate the resource.- Throws:
ResourceException
- This exception is thrown when the resource is not available.
-
-
Method Details
-
getResource
Description copied from interface:IResourceConnection
This method returns the resource of the connection.- Specified by:
getResource
in interfaceIResourceConnection
- Returns:
- the resource of the connection.
-
getName
Description copied from interface:IConnection
This method returns the name of the connection object. The name is used to uniquely identify the connection object.- Specified by:
getName
in interfaceIConnection
- Returns:
- the name of the connection object.
-
getType
Description copied from interface:IConnection
This method returns the type of the connection object.- Specified by:
getType
in interfaceIConnection
- Returns:
- the type of the connection object.
-