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 idleTimeout = ra.getAttributeValue("idle-timeout-in-seconds");
if(idleTimeout.length()==0)
{
result.failed(smh.getLocalString(getClass().getName()+".failed1",
"FAILED [AS-CONNECTOR resource-adapter] : idle-timeout-in-seconds cannot be empty"));