@Override
public void release(Object obj) {
// do nothing
}
};
this.endpointFactory = new JBossMessageEndpointFactory(getComponentClass().getClassLoader(), service);
final String deploymentName;
if(ejbComponentCreateService.getDistinctName() == null || ejbComponentCreateService.getDistinctName().length() == 0) {
deploymentName = ejbComponentCreateService.getApplicationName() + "." + ejbComponentCreateService.getModuleName();
} else {
deploymentName = ejbComponentCreateService.getApplicationName() + "." + ejbComponentCreateService.getModuleName() + "." + ejbComponentCreateService.getDistinctName();