Package COM.TIBCO.hawk.console.hawkeye
Class TIBHawkConsoleFactory
java.lang.Object
COM.TIBCO.hawk.console.hawkeye.TIBHawkConsoleFactory
This class provides an instance of HAWK Console application, based on the configured properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateHawkConsole(Map props) Create a new HawkConsole with given propertiesstatic TIBHawkConsoleFactoryTo get an instance of TIBHawkConsoleFactory class.
-
Constructor Details
-
TIBHawkConsoleFactory
public TIBHawkConsoleFactory()
-
-
Method Details
-
getInstance
To get an instance of TIBHawkConsoleFactory class.- Returns:
- An instance of TIBHawkConsoleFactory class
- Since:
- 5.0
-
createHawkConsole
public TIBHawkConsole createHawkConsole(Map props) throws ConsoleInitializationException, UnsupportedEncodingException Create a new HawkConsole with given properties- Parameters:
props- Configuration map can have below keys:Property Name Mandatory Default Desciption HawkConstants.HAWK_DOMAINNo default The hawk domain HawkConstants.HAWK_TRANSPORTNo HawkConstants.HAWK_TRANSPORT_TIBRVChoice of transport. Can be one of HawkConstants.HAWK_TRANSPORT_TIBGRPCorHawkConstants.HAWK_TRANSPORT_TIBRVorHawkConstants.HAWK_TRANSPORT_TIBEMSProperties when hawk transport is tibgrpc: HawkConstants.PROPERTY_GRPC_SESSION_PORTNo 9687 Port that the Hawk RedTail Console component container uses to listen to incoming transport request from Hawk agents HawkConstants.PROPERTY_GRPC_ENABLE_TLSNo false Set to true, if communication needs to happen over TLS protocol HawkConstants.PROPERTY_GRPC_SERVER_CERTNo null Path of the server certificate for the HawkConsole HawkConstants.PROPERTY_GRPC_SERVER_KEYNo null Path to HawkConsole private key HawkConstants.PROPERTY_GRPC_SERVER_KEY_PASSWORDNo null HawkConsole private key password HawkConstants.PROPERTY_GRPC_CLIENT_CANo null Path to HawkAgent CA for mutual authentication Properties when hawk transport is tibrv: HawkConstants.RV_SERVICENo 7500 Rendezvous service name HawkConstants.RV_NETWORKNo ; Rendezvous Network HawkConstants.RV_DAEMONNo tcp:7500 Rendezvous Deamon Properties when hawk transport is tibems: HawkConstants.HAWK_EMS_URLNo localhost://7222 EMS server URL HawkConstants.HAWK_EMS_USERNAMENo null EMS username HawkConstants.HAWK_EMS_PWDNo null EMS password HawkConstants.HAWK_SSL_PARAMSNo null A Java Hashtable containing key/values as documented in TIBCO JMS document: com.tibco.tibjms.TibjmsSSL.<prop> and its value - Returns:
- Throws:
ConsoleInitializationExceptionUnsupportedEncodingException- Since:
- 5.0
-