|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlai.common.AbstractDescriptor | +--com.bea.wlai.common.AbstractPropertiedDescriptor | +--com.bea.wlai.common.ConnectionFactoryDescriptor
An implementation of the IConnectionFactoryDescriptor interface for use by the WLAI server.
Constructor Summary | |
ConnectionFactoryDescriptor(java.lang.String name,
java.lang.String jndiName,
java.lang.String description,
java.lang.String adapterLogicalName,
int minPoolSize,
int maxPoolSize,
boolean allowPoolToShrink)
Construct a new ServiceDescriptor with the given name, description, interaction spec class name, and request/response document descriptors. |
|
ConnectionFactoryDescriptor(java.lang.String name,
java.lang.String jndiName,
java.lang.String description,
java.lang.String adapterLogicalName,
int minPoolSize,
int maxPoolSize,
float targetFractionOfMaxPoolSize,
boolean allowPoolToShrink)
Deprecated. targetFractionOfMaxPoolSize is no longer supported |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compare this object to the given object and determine if they are equal. |
void |
fromXML(IDocument doc)
Extract the data for this descriptor from the given IDocument instance, replacing all contents of the current descriptor with the new data. |
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. |
INamespace |
getParentNamespace()
Get this descriptor's parent namespace. |
QualifiedName |
getQualifiedName()
Return a QualifiedName representing this descriptor's name and parent namespace. |
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. |
static void |
main(java.lang.String[] args)
|
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 allowPoolToShrink)
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 |
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 |
setName(java.lang.String name)
Set this descriptor's name. |
void |
setParentNamespace(INamespace parent)
Set this descriptor's parent namespace. |
void |
setTargetFractionOfMaxPoolSize(float targetFraction)
Deprecated. Not supported by WLS JCA engine |
void |
toXML(IDocument doc)
Output an XML representation of this descriptor into an IDocument instance. |
Methods inherited from class com.bea.wlai.common.AbstractPropertiedDescriptor |
addProperty,
getProperty,
listPropertyNames,
removeProperty |
Methods inherited from class com.bea.wlai.common.AbstractDescriptor |
fromXML,
fromXML,
getDescription,
getName,
isReadOnly,
makeReadOnly,
setDescription,
toXML,
toXML |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ConnectionFactoryDescriptor(java.lang.String name, java.lang.String jndiName, java.lang.String description, java.lang.String adapterLogicalName, int minPoolSize, int maxPoolSize, float targetFractionOfMaxPoolSize, boolean allowPoolToShrink) throws java.lang.IllegalArgumentException
public ConnectionFactoryDescriptor(java.lang.String name, java.lang.String jndiName, java.lang.String description, java.lang.String adapterLogicalName, int minPoolSize, int maxPoolSize, boolean allowPoolToShrink) throws java.lang.IllegalArgumentException
Method Detail |
public boolean equals(java.lang.Object obj)
public QualifiedName getQualifiedName()
public void setName(java.lang.String name) throws java.lang.IllegalArgumentException
name
- The new name for this descriptor. Null is not allowed.public INamespace getParentNamespace()
public void setParentNamespace(INamespace parent)
parent
- This descriptor's parent namespace. Setting this
parameter to null should be avoided, and indicates that the
descriptor has no parent.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 or equal to 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.setMinPoolSize(int)
public float getTargetFractionOfMaxPoolSize()
getMinPoolSize()
public boolean isPoolAllowedToShrink()
public void setAllowPoolToShrink(boolean allowPoolToShrink)
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.public void toXML(IDocument doc) throws DocumentException
doc
- An IDocument instance to receive the data for this descriptor.public void fromXML(IDocument doc) throws DocumentException
doc
- An IDocument instance from which the data for this descriptor
will be extracted.public static void main(java.lang.String[] args)
|
WebLogic Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |