|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the metadata for a connection factory within a J2EE Connector Architecture (J2EE Connector Architecture) engine.
Method Summary | |
java.lang.String |
getAdapterLogicalName()
Get the logical name of the adapter that will be associated with connection pools based off this descriptor. |
java.lang.String |
getJNDIName()
Get the JNDI name at which connection factories based off this descriptor are to be bound. |
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. |
float |
getTargetFractionOfMaxPoolSize()
Get the fraction of the maximum pool size that represents the number of connections to maintain in a connection pool based off this descriptor. |
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 target fraction of max pool size. |
void |
setAdapterLogicalName(java.lang.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 target fraction of max pool size. |
void |
setJNDIName(java.lang.String jndiName)
Set the JNDI name at which connection factories based off this descriptor are to be bound. |
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 |
setTargetFractionOfMaxPoolSize(float targetFraction)
Set the fraction of the maximum pool size that represents the number of connections to maintain in a connection pool based off this descriptor. |
Methods inherited from interface com.bea.wlai.common.IPropertiedDescriptor |
addProperty,
getProperty,
listPropertyNames,
removeProperty |
Methods inherited from interface com.bea.wlai.common.INamespaceObject |
equals,
getDescription,
getName,
getParentNamespace,
getQualifiedName,
setDescription,
setName,
setParentNamespace |
Methods inherited from interface com.bea.wlai.common.IDescriptor |
fromXML,
fromXML,
fromXML,
isReadOnly,
makeReadOnly,
toXML,
toXML,
toXML |
Method Detail |
public void setJNDIName(java.lang.String jndiName)
jndiName
- The JNDI name to which connection factories based off
the descriptor will be bound.public java.lang.String getJNDIName()
public void setMinPoolSize(int minPoolSize)
minPoolSize
- The minimum number of connections in the connection
pool. Must be greater than or equal to 0.public int getMinPoolSize()
public void setMaxPoolSize(int maxPoolSize)
maxPoolSize
- The maximum number of connections in the connection
pool. Must be greater than 0.public int getMaxPoolSize()
public 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.public float getTargetFractionOfMaxPoolSize()
public boolean isPoolAllowedToShrink()
public void setAllowPoolToShrink(boolean allowedToShrink)
allowPoolToShrink
- Pass true if the pool is allowed to shrink,
false otherwise.public java.lang.String getAdapterLogicalName()
public void setAdapterLogicalName(java.lang.String logicalName)
logicalName
- The logical name for the adapter to be associated with
this descriptor.
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |