electric.server.jms.tibco
Class TibcoAdapter

java.lang.Object
  extended byelectric.server.jms.tibco.TibcoAdapter
All Implemented Interfaces:
IEXMLLoggingConstants, IGLUELoggingConstants, IJMSAdapter, ILoggingConstants

public class TibcoAdapter
extends java.lang.Object
implements IJMSAdapter, IGLUELoggingConstants

TibcoAdmin

Author:
webMethods

Field Summary
static java.lang.String PASSWORD
           
static java.lang.String SERVERURL
           
static java.lang.String SSLPARAMS
           
static java.lang.String USERNAME
           
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
TibcoAdapter()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the name of the class unique to the jms provider represented by an implementation of this interface
 java.lang.String getProviderName()
          Return the name of the provider
 javax.jms.Queue getQueue(java.lang.String queueName, boolean create)
          This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue object in a JNDI directory The method returns the name of the queue conforming to the requirements of the provider
 javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName, boolean create)
          This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue Connection Factory object in a JNDI directory The method returns the name of the queue connection factory conforming to the requirements of the provider
 Context getStartupContext()
          Get the context with the properties used to initialize/customize this adapter.
 boolean isStarted()
          Test if the adapter had been started
 void shutdown()
          Close any resources used by the adapter and shutdown the adapter
 void startup(Context context)
          Get any setting overrides from the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVERURL

public static final java.lang.String SERVERURL
See Also:
Constant Field Values

USERNAME

public static final java.lang.String USERNAME
See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
See Also:
Constant Field Values

SSLPARAMS

public static final java.lang.String SSLPARAMS
See Also:
Constant Field Values
Constructor Detail

TibcoAdapter

public TibcoAdapter()
Method Detail

startup

public void startup(Context context)
             throws javax.jms.JMSException,
                    javax.naming.NamingException
Get any setting overrides from the context. Perform initialization and start the adapter.

Specified by:
startup in interface IJMSAdapter
Parameters:
context - the context containing any custom settings for the provider
Throws:
javax.jms.JMSException
javax.naming.NamingException

shutdown

public void shutdown()
              throws javax.jms.JMSException,
                     javax.naming.NamingException
Close any resources used by the adapter and shutdown the adapter

Specified by:
shutdown in interface IJMSAdapter
Throws:
javax.jms.JMSException
javax.naming.NamingException

isStarted

public boolean isStarted()
Test if the adapter had been started

Specified by:
isStarted in interface IJMSAdapter

getStartupContext

public Context getStartupContext()
Get the context with the properties used to initialize/customize this adapter. This method is used only when Async objects are persisted. The serialization of Async object requires persisting of any state information used for the reconnection when object is deserialized. If adapter is not started the method should throw IllegalStateException

Specified by:
getStartupContext in interface IJMSAdapter

getQueue

public javax.jms.Queue getQueue(java.lang.String queueName,
                                boolean create)
                         throws javax.jms.JMSException,
                                javax.naming.NamingException
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue object in a JNDI directory The method returns the name of the queue conforming to the requirements of the provider

Specified by:
getQueue in interface IJMSAdapter
Parameters:
queueName - JNDI name of the queue
create - if true, create the queue
Throws:
javax.jms.JMSException
javax.naming.NamingException

getQueueConnectionFactory

public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String queueConnFactoryName,
                                                                  boolean create)
                                                           throws javax.jms.JMSException,
                                                                  javax.naming.NamingException
This method is called by the JMS subsystem of GLUE to request construction and placement of a JMS Queue Connection Factory object in a JNDI directory The method returns the name of the queue connection factory conforming to the requirements of the provider

Specified by:
getQueueConnectionFactory in interface IJMSAdapter
Parameters:
queueConnFactoryName - JNDI name of the queue connecion factory
create - if true, create the queue
Throws:
javax.jms.JMSException
javax.naming.NamingException

getClassName

public java.lang.String getClassName()
Returns the name of the class unique to the jms provider represented by an implementation of this interface

Specified by:
getClassName in interface IJMSAdapter

getProviderName

public java.lang.String getProviderName()
Return the name of the provider

Specified by:
getProviderName in interface IJMSAdapter


copyright© 2001-2004 by webMethods All Rights Reserved.