© 2001 BEA Systems, Inc.

com.beasys.commerce.servicemanager
Class CommerceServiceManagerBean

com.beasys.commerce.servicemanager.CommerceServiceManagerBean

public class CommerceServiceManagerBean

Commerce Service Manager implementation.


Field Summary
protected  javax.ejb.SessionContext ctx
          The ejb session context.
protected  java.util.Properties properties
          The service manager properties.
 
Constructor Summary
CommerceServiceManagerBean()
           
 
Method Summary
 void ejbActivate()
          This method is required by the EJB Specification, but is not used by this example.
 void ejbCreate()
          This method is required by the EJB Specification, but is not used by this example.
 void ejbPassivate()
          This method is required by the EJB Specification, but is not used by this example.
 void ejbRemove()
          This method is required by the EJB Specification, but is not used by this example.
 java.lang.String getCampaignVersion()
          Get the version of the Campaign server.
 java.lang.String getCommerceVersion()
          Get commerce version.
 java.lang.String getPersonalizationVersion()
          Get personalization version.
protected  java.util.Properties getProperties()
          Get the properties that have version info.
 java.lang.String getVersion()
          Get the version of the server.
 void setSessionContext(javax.ejb.SessionContext ctx)
          Sets the session context.
 

Field Detail

ctx

protected javax.ejb.SessionContext ctx
The ejb session context.

properties

protected java.util.Properties properties
The service manager properties.
Constructor Detail

CommerceServiceManagerBean

public CommerceServiceManagerBean()
Method Detail

ejbActivate

public void ejbActivate()
This method is required by the EJB Specification, but is not used by this example.

ejbRemove

public void ejbRemove()
This method is required by the EJB Specification, but is not used by this example.

ejbPassivate

public void ejbPassivate()
This method is required by the EJB Specification, but is not used by this example.

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context.
Parameters:
ctx - SessionContext Context for session

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
This method is required by the EJB Specification, but is not used by this example.

getProperties

protected java.util.Properties getProperties()
                                      throws java.io.IOException
Get the properties that have version info.
Returns:
Properties
Throws:
IOException -  

getVersion

public java.lang.String getVersion()
Get the version of the server.
Returns:
String

getCampaignVersion

public java.lang.String getCampaignVersion()
Get the version of the Campaign server.
Returns:
String

getPersonalizationVersion

public java.lang.String getPersonalizationVersion()
Get personalization version.
Returns:
String

getCommerceVersion

public java.lang.String getCommerceVersion()
Get commerce version.
Returns:
String

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved