BEA Systems, Inc.

com.beasys.commerce.servicemanager
Class CommerceServiceManagerBean

java.lang.Object
  |
  +--com.beasys.commerce.servicemanager.CommerceServiceManagerBean

public class CommerceServiceManagerBean
extends java.lang.Object
implements javax.ejb.SessionBean

Commerce Service Manager implementation.

See Also:
Serialized Form

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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
This method is required by the EJB Specification, but is not used by this example.
Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
This method is required by the EJB Specification, but is not used by this example.
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

setSessionContext

public final void setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context.
Specified by:
setSessionContext in interface javax.ejb.SessionBean
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

getPersonalizationVersion

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

getCommerceVersion

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

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved