ServiceBeanpublic class ServiceBean extends Object implements ServiceLocal, ServiceRemote, ServiceManagement
Fields Summary |
---|
private static final Logger | log | private int | remoteAccessed |
Methods Summary |
---|
public void | create()
log.info("CREATE");
| public void | destroy()
log.info("DESTROY");
| public synchronized void | localMethod()
| public synchronized void | remoteMethod()
log.info("ACESSSED " + ++remoteAccessed);
| public void | start()
log.info("START");
| public void | stop()
log.info("STOP");
|
|