public Result check(ConnectorDescriptor descriptor)
{
Result result = getInitializedResult();
ComponentNameConstructor compName = new ComponentNameConstructor(descriptor);
boolean oneFailed = false;
SunConnector sc = descriptor.getSunDescriptor();
if(sc == null)
{
result.notApplicable(smh.getLocalString(getClass().getName()+".notApplicable1",
"NOT APPLICABLE [AS�CONNECTOR]: sun-ra.xml descriptor object could not be obtained"));
}
else{
ResourceAdapter ra = sc.getResourceAdapter();
String maxPoolSize = ra.getAttributeValue("max-pool-size");
if(maxPoolSize.length()==0)
{
result.failed(smh.getLocalString(getClass().getName()+".failed1",
"FAILED [AS-CONNECTOR resource-adapter] : max-pool-size cannot be empty"));