return _isUsingPersistence;
}
public Resource newInstance()
{
Environment env = getEnvironment();
Logger log = getLog();
//
// instantiate the resource object itself
//
Class resourceClass = getResourceClass();
Resource resource = (Resource)ReflectUtils.newInstance(resourceClass);
//
// give the resource access to all the standard Muse components
//
resource.setEnvironment(env);
resource.setLog(log);
resource.setContextPath(getContextPath());
resource.setInitializationParameters(getInitializationParameters());
WsdlConfig wsdl = getWsdlConfig();
resource.setWsdlPath(wsdl.getWsdlPath());
resource.setWsdlPortType(wsdl.getWsdlPortType());
//
// create the unique EPR for the resource using the
// ID factory specified
//
EndpointReference uniqueEPR = env.getDeploymentEPR();
ResourceIdFactory idFactory = getResourceIdFactory();
if (idFactory != null)
{