|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IConnectionFactoryDescriptor
Represents the metadata for a connection factory within a J2EE Connector Architecture (J2EE Connector Architecture) engine.
| Method Summary | |
|---|---|
String |
getAdapterLogicalName()
Get the logical name of the adapter that will be associated with connection pools based off this descriptor. |
int |
getMaxPoolSize()
Get the maximum number of connections to maintain in any connection pool based off this IConnectionFactoryDescriptor. |
int |
getMinPoolSize()
Get the minimum number of connections to maintain in any connection pool based off this IConnectionFactoryDescriptor. |
String |
getRelativeJNDIName()
Get the JNDI name at which connection factories based off this descriptor are to be bound. |
float |
getTargetFractionOfMaxPoolSize()
Deprecated. Not supported by WLS JCA engine |
boolean |
isPoolAllowedToShrink()
Indicates whether the J2EE Connector Architecture engine maintaining a connection pool based off this descriptor is allowed to close free connections to reach the requested min pool size. |
void |
setAdapterLogicalName(String logicalName)
Set the logical name of the adapter that will be associated with connection pools based off this descriptor. |
void |
setAllowPoolToShrink(boolean allowedToShrink)
Set whether the J2EE Connector Architecture engine maintaining a connection pool based off this descriptor is allowed to close free connections to reach the requested min pool size. |
void |
setMaxPoolSize(int maxPoolSize)
Set the maximum number of connections to maintain in any connection pool based off this IConnectionFactoryDescriptor. |
void |
setMinPoolSize(int minPoolSize)
Set the minimum number of connections to maintain in any connection pool based off this IConnectionFactoryDescriptor. |
void |
setRelativeJNDIName(String jndiName)
Set the JNDI name (relative to the host application's root JNDI context) at which connection factories based off this descriptor are to be bound. |
void |
setTargetFractionOfMaxPoolSize(float targetFraction)
Deprecated. Not supported by WLS JCA engine |
| Methods inherited from interface com.bea.wlai.common.IPropertiedDescriptor |
|---|
addProperty, getProperty, listPropertyNames, removeProperty |
| Methods inherited from interface com.bea.wlai.common.IDescriptor |
|---|
fromXML, fromXML, getDescription, getName, isReadOnly, makeReadOnly, setDescription, setName, toXML, toXML |
| Methods inherited from interface com.bea.wlai.common.INamespaceObject |
|---|
equals, getDescription, getLastUpdateTime, getName, getParentNamespace, getQualifiedName, setDescription, setName, setParentNamespace, syncLastUpdateTime, touch |
| Method Detail |
|---|
void setRelativeJNDIName(String jndiName)
jndiName - The JNDI name (relative to the host application's root JNDI
context) to which connection factories based off
the descriptor will be bound.String getRelativeJNDIName()
void setMinPoolSize(int minPoolSize)
minPoolSize - The minimum number of connections in the connection
pool. Must be greater than or equal to 0.int getMinPoolSize()
void setMaxPoolSize(int maxPoolSize)
maxPoolSize - The maximum number of connections in the connection
pool. Must be greater than 0.int getMaxPoolSize()
void setTargetFractionOfMaxPoolSize(float targetFraction)
targetFraction - A number between zero and one that represents the
desired fraction of the max pool size to maintain on an ongoing
basis.setMinPoolSize(int)float getTargetFractionOfMaxPoolSize()
getMinPoolSize()boolean isPoolAllowedToShrink()
void setAllowPoolToShrink(boolean allowedToShrink)
allowedToShrink - Pass true if the pool is allowed to shrink,
false otherwise.String getAdapterLogicalName()
void setAdapterLogicalName(String logicalName)
logicalName - The logical name for the adapter to be associated with
this descriptor.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||