}
private void addService(CreatorManager creatorManager, final RuntimeEndpointReference epr) {
final Class<?> iface = ((JavaInterface)epr.getComponentTypeReferenceInterfaceContract().getInterface()).getJavaClass();
creatorManager.addCreator(epr.getReference().getName(), new AbstractCreator() {
public Class<?> getType() {
return iface;
}
public Object getInstance() throws InstantiationException {