input stringlengths 10 828 | output stringlengths 5 107 |
|---|---|
public void remove connection event listener final connection event listener l listeners remove element l | remove a connection event listener |
public string to xml boolean indent return xml version 1 0 encoding utf 8 nl to string 0 indent | serializes this object into a xml document string |
public long get time last did something return m time last did something | gets the last time something was done |
public xaresource get xaresource throws resource exception spec says a mc must allways return the same xa resource so we cache it if xa transacted throw new not supported exception xa transaction not supported if xa resource null if info is topic xa resource xa topic session get xaresource else xa resource xa queue session get xaresource if log is trace enabled log trace xaresource xa resource return xa resource | get the xaresource for the connection |
public string get connection properties return connection properties | get the value of connection properties |
public void set connection properties string connection properties this connection properties connection properties connection props clear if connection properties null input stream is new byte array input stream connection properties get bytes try connection props load is catch ioexception ioe throw new nested runtime exception could not load connection properties ioe | set the value of connection properties |
public local transaction get local transaction throws resource exception local transaction tx new jms local transaction this if log is trace enabled log trace local transaction tx return tx | get the location transaction for the connection |
public int get connection retry attempts return this connection retry attempts | gets the connection retry attempts |
public managed connection meta data get meta data throws resource exception if is destroyed throw new illegal state exception managed connection already destroyd return new jms meta data this | get the meta data for the connection |
public boolean is track connection by tx return super is track connection by tx | mbean get set pair for field track connection by tx |
public void set track connection by tx boolean track connection by tx super set track connection by tx track connection by tx | set the value of track connection by tx |
public managed connection pool get managed connection pool return pooling strategy | managed connection pool is a read only attribute returning the pool |
public void set log writer final print writer out throws resource exception jason screw the log writer stuff for now it sucks ass | set the log writer for this connection |
public string get transaction isolation switch this transaction isolation case connection transaction none return transaction none case connection transaction read committed return transaction read committed case connection transaction read uncommitted return transaction read uncommitted case connection transaction repeatable read return transaction repeatable read case connection transaction serializable return transaction serializable case 1 return default default return integer to string transaction isolation | gets the transaction isolation attribute of the jdbcmanaged connection factory |
public boolean is spec compliant return spec compliant | get the spec compliant value |
public string get managed connection factory class return managed connection factory class | gets the managed connection factory class attribute of the rarmeta data |
public void run try ping task semaphore acquire catch interrupted exception e return try if ponged false server did not pong use with in the timeout period assuming the connection is dead throw new spy jmsexception new ioexception ping timeout ponged false ping server system current time millis catch jmsexception e asynch failure connection failed e get linked exception finally ping task semaphore release | main processing method for the ping task object |
public object name get managed connection factory name return managed connection factory name | managed connection factory name holds the object name of the mbean that |
public object name get old rar deployment return old rar deployment | the old rar deployment attribute refers to a previous generation rardeployment |
public void set spec compliant boolean spec compliant this spec compliant spec compliant | set the spec compliant value |
public int get transaction support return transaction support | gets the type of transactions supported by the resource adapter |
public print writer get log writer throws resource exception jason screw the log writer stuff for now it sucks ass return null | get the log writer for this connection |
public string get new connection sql return new connection sql | get the new connection sql value |
public void set managed connection factory name object name new managed connection factory name this managed connection factory name new managed connection factory name | set the managed connection factory name value |
public cached connection manager get instance return this | the instance attribute simply holds the current instance |
public void set new connection sql string new connection sql this new connection sql new connection sql | set the new connection sql value |
public string get property type string name property prop property properties get name return prop null null prop type | gets the property type attribute of the rarmeta data object |
public void set old rar deployment final object name old rar deployment this old rar deployment old rar deployment | set the value of old rar deployment |
public string get auth mech type return auth mech type | gets the auth mech type attribute of the rarmeta data object |
public string get check valid connection sql return check valid connection sql | get the check valid connection sql value |
public long get available connection count return pooling strategy get available connection count | get number of available free connections |
protected session get session if info is topic return topic session else return queue session | get the session for this connection |
public boolean get reauthentication support return reauthentication support | gets the reauthentication support attribute of the rarmeta data object |
public void set check valid connection sql string check valid connection sql this check valid connection sql check valid connection sql | set the check valid connection sql value |
public int get min size return pool params min size | the min size attribute indicates the minimum number of connections this |
public string get exception sorter class name return exception sorter class name | get the exception sorter classname value |
public void set exception sorter class name string exception sorter class name this exception sorter class name exception sorter class name | set the exception sorter classname value |
public void set min size int new min size pool params min size new min size | set the min size value |
protected void remove handle final jms session handle handles remove handle | remove a handle from the handle map |
public int get max size return pool params max size | the max size attribute indicates the maximum number of connections for a |
public void acknowledge throws javax jms jmsexception | acknowledge method comment |
public void set max size int new max size pool params max size new max size | set the max size value |
protected connection request info get info return info | get the request info for this connection |
public int get blocking timeout millis return pool params blocking timeout | the blocking timeout millis attribute indicates the maximum time to block |
public int compare to java lang object o return 0 | compares this object with the specified object for order |
protected jms managed connection factory get managed connection factory return mcf | get the connection factory for this connection |
public void set blocking timeout millis int new blocking timeout pool params blocking timeout new blocking timeout | set the blocking timeout value |
public void set transaction manager final string tm name this tm name tm name | the transaction manager attribute contains the jndi name of the |
public long get idle timeout minutes return pool params idle timeout 1000 60 | the idle timeout minutes attribute indicates the maximum time a connection |
protected string get user name return user | get the user name for this connection |
public void set spec version string spec version this spec version spec version | set the spec version value |
public void set idle timeout minutes long new idle timeout minutes pool params idle timeout new idle timeout minutes 1000 60 | set the idle timeout minutes value |
public string get transaction manager return this tm name | describe code get transaction manager code method here |
private jmsprovider adapter get provider adapter throws naming exception jmsprovider adapter adapter if mcf get jms provider adapter jndi null lookup the adapter from jndi context ctx new initial context try adapter jmsprovider adapter ctx lookup mcf get jms provider adapter jndi finally ctx close else adapter mcf get jms provider adapter return adapter | get the jms provider adapter that will be used to create jms |
public string get eis type return eis type | the eis type attribute holds the eis type from the ra |
public long get idle timeout return pool params idle timeout | get the idle timeout value |
public boolean is track connection by tx return track connection by tx | mbean get set pair for field track connection by tx |
public void set eis type string eis type this eis type eis type | set the eis type value |
public object name get managed connection pool return managed connection pool name | the managed connection pool holds the object name of the mbean representing |
public boolean accepts deployment info sdi string url str sdi url to string return url str ends with rar url str ends with rar | gets the deployable filter attribute of the rardeployer object |
public void set idle timeout long new idle timeout pool params idle timeout new idle timeout | set the idle timeout value |
public void post register boolean done super post register done service controller service controller mbean mbean proxy ext create service controller mbean class service controller mbean object name server | once registration has finished create a proxy to the service controller |
public void shutdown flush idle remover unregister pool this | the code shutdown code method |
public void set track connection by tx boolean track connection by tx this track connection by tx track connection by tx | set the value of track connection by tx |
public void set managed connection pool object name new managed connection pool this managed connection pool name new managed connection pool | set the managed connection pool value |
public boolean is local transactions return local transactions | mbean get set pair for field local transactions |
public void set criteria string new criteria this criteria new criteria | set the criteria value |
public void set cached connection manager object name ccm name this ccm name ccm name | the cachec connection manager holds the object name of the |
public stats get stats try obtain the current clients map connection token client consumer map clients map server get attribute jms service name clients iterator iter clients key set iterator catch exception e log debug failed to obtain stats e return stats | obtain the stats from the statistics provider |
public void reset stats stats reset | reset all statistics in the statistics provider |
public void flush pooling strategy flush | the code flush code method puts all currently checked out |
public void set local transactions boolean local transactions this local transactions local transactions | set the value of local transactions |
public object name get cached connection manager return ccm name | describe code get cached connection manager code method here |
public int get connection count return pooling strategy null 0 pooling strategy get connection count | describe code get connection count code method here |
public stats get stats try object name jsr77 cfname get connection factory 0 object params pool service name string sig object name class get name jcaconnection pool stats impl cf stats jcaconnection pool stats impl server invoke jsr77 cfname get pool stats params sig jcaconnection pool stats impl pool stats cf stats stats new jcastats impl null pool stats catch exception e log debug failed to create jcastats e return stats | obtain the stats from the statistics provider |
private void do destroy managed connection mc connection counter dec destroyed put mc null try mc destroy catch throwable t log info exception destroying managed connection t end of try catch | describe code do destroy code method here |
public void reset stats if stats null stats reset | reset all statistics in the statistics provider |
public void set managed connection factory class final string managed connection factory class this managed connection factory class managed connection factory class | set the managed connection factory class value |
public void set security domain jndi name string security domain jndi name if security domain jndi name null security domain jndi name starts with security mgr path security domain jndi name security domain jndi name substring security mgr path length log warn warning update your security domain jndi name remove security mgr path end of if this security domain jndi name security domain jndi name | the security domain jndi name holds the jndi name of the security domain |
public void destroy mbean server server object data if data instanceof deployment info false return deployment info di deployment info data object name jsr77 name object name deployment to module name map get di log debug destroy module jsr77 name iterator ejbs di mbeans iterator while ejbs has next object name container name object name ejbs next destroy ejb server container name if jsr77 name null ejbmodule destroy server jsr77 name | destroy jsr 77 ejbmodule |
public int get connection created count return pooling strategy null 0 pooling strategy get connection created count | describe code get connection created count code method here |
public object name create mbean server server object data object name service name object name data object name name jmsresource create server local jms service name return name | creates a local jms jmsresource associated with the service controller |
public void destroy mbean server server object data jmsresource destroy server local jms | destroys the local jms jmsresource |
public void destroy mbean server mbean server object data if data instanceof deployment info false return deployment info di deployment info data rarmeta data meta data rarmeta data di meta data object name jsr77 name object name deployment to module name map get di resource adapter destroy mbean server meta data get display name log debug destroy module jsr77 name if jsr77 name null resource adapter module destroy mbean server jsr77 name | destroy jsr 77 ejbmodule |
public object name create mbean server server object data if data instanceof deployment info false return null deployment info di deployment info data string module name di short name object name jsr77 name j2 eeapplication create server module name di local url deployment to module name map put di jsr77 name if jsr77 name null log debug created j2 eeapplication jsr77 name return jsr77 name | create jsr 77 j2 eeapplication |
public void destroy mbean server server object data if data instanceof deployment info false return deployment info di deployment info data object name jsr77 name object name deployment to module name map remove di remove jsr 77 ear module if jsr77 name null j2 eeapplication destroy server jsr77 name log debug removed j2 eeapplication jsr77 name | destroy jsr 77 j2 eeapplication |
public void destroy ejb mbean server server object name container name object name jsr77 name object name container to module name map get container name log debug destroy container container name module jsr77 name if jsr77 name null ejb destroy server jsr77 name | destory jsr 77 j2 eeapplication |
public object name create mbean server server object data object name service name object name data string res name service name get key property name if res name null res name default mail object name name java mail resource create server res name service name return name | creates a java mail resource given a service controller create notification |
public void destroy mbean server server object data object name service name object name data string res name service name get key property name if res name null res name default mail java mail resource destroy server res name | creates a java mail resource given a service controller destroy notification |
public string get connection factory interface return connection factory interface | the connection factory interface attribute holds the connection factory interface from the ra |
public void destroy mbean server server object data if data instanceof deployment info false return deployment info di deployment info data object name jsr77 name object name deployment to module name map get di log debug destroy module jsr77 name iterator servlets di mbeans iterator while servlets has next object next servlets next try object name servlet name object name next destroy servlet server servlet name catch throwable e log debug failed to destroy jsr 77 servlet next e if jsr77 name null web module destroy server jsr77 name | destroy jsr 77 web module |
public string get security domain jndi name return security domain jndi name | get the security domain jndi name value |
public int get connection destroyed count return pooling strategy null 0 pooling strategy get connection destroyed count | describe code get connection destroyed count code method here |
public object name create mbean server server object data object name service name object name data string name service name get key property service object name jsr77 name jtaresource create server name service name return jsr77 name | creates a jtaresource given an mbean server notification |
public void destroy mbean server server object data object name service name object name data string name service name get key property service jtaresource destroy server name | destroys a jtaresource given an mbean server notification |
public object name create mbean server server object data object name service name object name data object name name jndiresource create server local jndi service name return name | creates a jndiresource given an mbean server notification |
public void destroy servlet mbean server server object name servlet service name object name jsr77 name object name container to module name map get servlet service name log debug destroy container servlet service name module jsr77 name if jsr77 name null servlet destroy server jsr77 name | destroy jsr 77 servlet |
public void destroy mbean server server object data jndiresource destroy server local jndi | creates a jndiresource given an mbean server notification |
public void destroy mbean server server object data if data instanceof deployment info false return deployment info di deployment info data | destroys the jcaresource |
public void set connection factory interface string connection factory interface this connection factory interface connection factory interface | set the connection factory interface value |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.