de.uplanet.lucy.server.auxiliaries
Class BpeeFactory

java.lang.Object
  extended by de.uplanet.lucy.server.auxiliaries.BpeeFactory

@VelocityCallable(value="singleton")
public final class BpeeFactory
extends java.lang.Object

Version:
$Revision: 79300 $

Nested Class Summary
static class BpeeFactory.DeprecatedProcessingContext
           
 
Constructor Summary
BpeeFactory()
          Standard constructor.
 
Method Summary
 IBpeeExecutionContext createContext(de.uplanet.lucy.server.IProcessingContext p_ctx, java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects, org.apache.velocity.context.AbstractContext p_ctxVelocity)
          Create a BPEE execution context.
 IBpeeExecutionContext createContext(java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity)
          Deprecated. Use createContext(IProcessingContext, Map, AbstractContext) instead.
 IBpeeExecutionContext createContext(java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects, de.uplanet.lucy.server.session.ISession p_session, IServerBridgeRequest p_request, org.apache.velocity.context.AbstractContext p_ctxVelocity, java.util.TimeZone p_tz)
          Deprecated. Use createContext(IProcessingContext, Map, AbstractContext) instead.
 BpeeEngine createEngine()
           
 java.util.Map<javax.xml.namespace.QName,IValueHolder<?>> getBeanProperties(java.lang.String p_strNamespaceUri, IUser p_user)
          Get a user's properties.
 java.util.Map<javax.xml.namespace.QName,IValueHolder<?>> getBeanProperties(java.lang.String p_strNamespaceUri, java.lang.Object p_obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpeeFactory

public BpeeFactory()
Standard constructor.

Method Detail

createContext

public IBpeeExecutionContext createContext(de.uplanet.lucy.server.IProcessingContext p_ctx,
                                           java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects,
                                           org.apache.velocity.context.AbstractContext p_ctxVelocity)
                                    throws de.uplanet.xml.schema.XmlSchemaDatatypeParseException
Create a BPEE execution context.

If a session and an associated user is presentin the given processing context, it's time zone will be put into the execution context. Otherwise the system's default time zone will be used.

Parameters:
p_ctx - The processing context.
p_namedObjects -
p_ctxVelocity - The Velocity context.
Returns:
The BPEE execution context.
Throws:
de.uplanet.xml.schema.XmlSchemaDatatypeParseException

createContext

@Deprecated
public IBpeeExecutionContext createContext(java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects,
                                                      de.uplanet.lucy.server.session.ISession p_session,
                                                      IServerBridgeRequest p_request,
                                                      org.apache.velocity.context.AbstractContext p_ctxVelocity)
                                    throws de.uplanet.xml.schema.XmlSchemaDatatypeParseException
Deprecated. Use createContext(IProcessingContext, Map, AbstractContext) instead.

Create a BPEE execution context.

If a session and an associated user is present, it's time zone will be put into the execution context. Otherwise the system's default time zone will be used.

Parameters:
p_namedObjects -
p_session -
p_request -
p_ctxVelocity -
Returns:
The BPEE execution context.
Throws:
de.uplanet.xml.schema.XmlSchemaDatatypeParseException

createContext

@Deprecated
public IBpeeExecutionContext createContext(java.util.Map<javax.xml.namespace.QName,java.lang.Object> p_namedObjects,
                                                      de.uplanet.lucy.server.session.ISession p_session,
                                                      IServerBridgeRequest p_request,
                                                      org.apache.velocity.context.AbstractContext p_ctxVelocity,
                                                      java.util.TimeZone p_tz)
                                    throws de.uplanet.xml.schema.XmlSchemaDatatypeParseException
Deprecated. Use createContext(IProcessingContext, Map, AbstractContext) instead.

Create a BPEE execution context.

Parameters:
p_namedObjects -
p_session -
p_request -
p_ctxVelocity -
p_tz - The time zone to be used.
Returns:
The BPEE execution context.
Throws:
de.uplanet.xml.schema.XmlSchemaDatatypeParseException

createEngine

public BpeeEngine createEngine()

getBeanProperties

public java.util.Map<javax.xml.namespace.QName,IValueHolder<?>> getBeanProperties(java.lang.String p_strNamespaceUri,
                                                                                  IUser p_user)
                                                                           throws java.lang.IllegalArgumentException,
                                                                                  java.lang.IllegalAccessException,
                                                                                  java.lang.reflect.InvocationTargetException,
                                                                                  de.uplanet.xml.schema.XmlSchemaDatatypeParseException
Get a user's properties.

Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
de.uplanet.xml.schema.XmlSchemaDatatypeParseException
See Also:
getBeanProperties(String, Object)

getBeanProperties

public java.util.Map<javax.xml.namespace.QName,IValueHolder<?>> getBeanProperties(java.lang.String p_strNamespaceUri,
                                                                                  java.lang.Object p_obj)
                                                                           throws java.lang.IllegalArgumentException,
                                                                                  java.lang.IllegalAccessException,
                                                                                  java.lang.reflect.InvocationTargetException,
                                                                                  de.uplanet.xml.schema.XmlSchemaDatatypeParseException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
de.uplanet.xml.schema.XmlSchemaDatatypeParseException


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.