Business delegate pattern: Difference between revisions

Content deleted Content added
m Business Ssrvice: fixed previous edit
Line 65:
}
 
public BusinessDelegate(String id)
throws ResourceException {
Line 72 ⟶ 71:
}
 
public String getID() {
try {
Line 93 ⟶ 91:
}
 
public ResourceTO setCurrentResource(
String resourceId)
Line 186 ⟶ 183:
// Throw an application exception
}
}
}
 
public void reconnect(String id)
throws ResourceException {
try {
session = (ResourceSession) ServiceLocator.getService(id);
ServiceLocator.getService(id);
} catch (RemoteException ex) {
// Translate the Remote exception into
Line 200 ⟶ 196:
}
 
public ResourceTO setCurrentResource(
String resourceId)