Package org.teiid.adminapi
Interface SessionBean
-
- All Known Subinterfaces:
Session
- All Known Implementing Classes:
SessionMetadata
public interface SessionBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getApplicationName()
Get the Application NameString
getClientHardwareAddress()
Get the client hardware (typically MAC) address.String
getClientHostName()
Get the host name of the machine the client is accessing from.long
getCreatedTime()
Get the time theSession
was created.String
getIPAddress()
Get the IPAddress for this Session.long
getLastPingTime()
Get the Last time Client has check to see if the server is still availableString
getSecurityDomain()
Security Domain user logged into currentlyString
getSessionId()
Get the unique Teiid session within a given Teiid SystemString
getUserName()
Get User Name for this Session
It will not include the Security Domain, seegetSecurityDomain()
String
getVDBName()
Get the VDB Name for this SessionString
getVDBVersion()
Get the VDB Version for this Session
-
-
-
Method Detail
-
getLastPingTime
long getLastPingTime()
Get the Last time Client has check to see if the server is still available- Returns:
- Date of the last ping to the server.
-
getApplicationName
String getApplicationName()
Get the Application Name- Returns:
- String of the Application Name
-
getSessionId
String getSessionId()
Get the unique Teiid session within a given Teiid System- Returns:
- String of the Session ID
-
getUserName
String getUserName()
Get User Name for this Session
It will not include the Security Domain, seegetSecurityDomain()
- Returns:
- String of UserName
-
getVDBName
String getVDBName()
Get the VDB Name for this Session- Returns:
- String name of the VDB
-
getVDBVersion
String getVDBVersion()
Get the VDB Version for this Session- Returns:
- String name/number of the VDB Version
-
getIPAddress
String getIPAddress()
Get the IPAddress for this Session. Note this value is reported from the client.- Returns:
-
getClientHostName
String getClientHostName()
Get the host name of the machine the client is accessing from. Note this value is reported from the client.- Returns:
-
getClientHardwareAddress
String getClientHardwareAddress()
Get the client hardware (typically MAC) address. Note this value is reported from the client.- Returns:
- the hardware address as a hex string or null if not available.
-
getCreatedTime
long getCreatedTime()
Get the time theSession
was created.- Returns:
-
getSecurityDomain
String getSecurityDomain()
Security Domain user logged into currently- Returns:
-
-