Methods Summary |
---|
public void | annotatedInit()
initialized += "YES";
|
public java.lang.String | createAccountId(Customer customer)
return getId() + "." + customer.getName() + "." + (nextAccountId++);
|
public java.lang.String | createCustomerId()
return getId() + "." + (nextCustomerId++);
|
public void | ejbActivate()
activated += "_ACTIVATED";
|
public void | ejbCreate()
activated += "_CREATED";
|
public void | ejbPassivate()
|
public void | ejbRemove()
|
public java.lang.String | getId()
return id;
|
public void | init()
initialized += "YES";
|
public java.lang.String | interceptCustomerId(java.lang.String customerId)
return customerId;
|
public java.lang.String | isActivated()
return activated;
|
public java.lang.String | isInitialized()
return initialized;
|
public void | remove()
|
public java.lang.String | retrieveCustomerId()
return customerId;
|
public void | setSessionContext(javax.ejb.SessionContext context)
|
public void | storeCustomerId(java.lang.String customerId)
this.customerId = customerId;
|
public void | testResource()
if (customerDb == null) throw new Exception("customerDb resource not set");
Connection connection = customerDb.getConnection();
connection.close();
|