Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server
Class ComponentObjectImpl

java.lang.Object
  extended byoracle.jbo.common.NamedObjectImpl
      extended byoracle.jbo.server.NamedObjectImpl
          extended byoracle.jbo.server.ComponentObjectImpl
All Implemented Interfaces:
ComponentObject, Properties
Direct Known Subclasses:
ContainerObjectImpl, EntityReference, ViewLinkImpl, ViewObjectImpl

public abstract class ComponentObjectImpl
extends NamedObjectImpl
implements ComponentObject

Abstract class for ComponentObjectImpl. Users need to extend this class to plug generic components in Business Components for Java Framework


Field Summary
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties
 
Constructor Summary
ComponentObjectImpl()
           
 
Method Summary
 void addListener(ComponentObjectListener listener)
          Add a listener for the Component Object
protected  void create()
           
static ComponentObjectImpl createRef(java.lang.String name, oracle.jbo.server.DefObject bo)
           
 ApplicationModule getApplicationModule()
          Gets the Application Module.
protected  java.util.Vector getCompListeners()
          Gets the list of component Object listeners.
protected  com.sun.java.util.collections.ArrayList getCompListenersList()
          Gets the list of component Object listeners.
 java.lang.String getDefFullName()
          Gets the Full Name of the Def Object.
 java.lang.String getDefName()
          Gets the name of the Def Object.
 java.lang.String getProxyClassName()
          Gets the Proxy class name for the corresponding deployment platform.
protected  java.lang.String getProxyClassName(java.lang.String platform)
          Gets the proxy class name for a deplyoment platform.
 ApplicationModuleImpl getRootApplicationModule()
          Gets the root application module implementation.
 boolean isRegWithPiggyMan()
          Is component registered with Piggy back Manager
 void remove()
          Deletes this component.
protected  void setName(java.lang.String name)
          Name this object.
protected  void setParent(NamedObjectImpl parent)
          Sets this object's parent.
protected  void setProxyClassName(java.lang.String platform, java.lang.String proxyClassName)
          Set the name value pair for internal map
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
setParent, setPropertiesMap
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.ComponentObject
getFullName, getName
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, refreshProperty
 

Constructor Detail

ComponentObjectImpl

public ComponentObjectImpl()
Method Detail

getCompListenersList

protected com.sun.java.util.collections.ArrayList getCompListenersList()
Gets the list of component Object listeners.

Returns:
Vector for the list of listeners

getCompListeners

protected java.util.Vector getCompListeners()
Gets the list of component Object listeners.

Returns:
Vector for the list of listeners

getRootApplicationModule

public final ApplicationModuleImpl getRootApplicationModule()
Gets the root application module implementation.

Returns:
ApplicationModuleImpl

createRef

public static ComponentObjectImpl createRef(java.lang.String name,
                                            oracle.jbo.server.DefObject bo)
Parameters:
name - the reference object name.
bo - the object to be referenced.
Returns:
the reference object created.

create

protected void create()

getDefName

public java.lang.String getDefName()
Gets the name of the Def Object.

Specified by:
getDefName in interface ComponentObject
Returns:
Name of the Def Object

getDefFullName

public java.lang.String getDefFullName()
Gets the Full Name of the Def Object.

Specified by:
getDefFullName in interface ComponentObject
Returns:
a class name.

remove

public void remove()
Deletes this component.

Specified by:
remove in interface ComponentObject

getProxyClassName

public java.lang.String getProxyClassName()
Gets the Proxy class name for the corresponding deployment platform.

Returns:
the String proxy class name

getApplicationModule

public ApplicationModule getApplicationModule()
Gets the Application Module.

Returns:
ApplicationModule

getProxyClassName

protected java.lang.String getProxyClassName(java.lang.String platform)
Gets the proxy class name for a deplyoment platform.

Parameters:
platform - deployment platform
Returns:
name of the proxy class

setProxyClassName

protected void setProxyClassName(java.lang.String platform,
                                 java.lang.String proxyClassName)
Set the name value pair for internal map

Parameters:
platform - the name of the platform as a String.
proxyClassName - the name of the proxy class as a String.

isRegWithPiggyMan

public boolean isRegWithPiggyMan()
Is component registered with Piggy back Manager

Returns:
boolean

addListener

public void addListener(ComponentObjectListener listener)
Add a listener for the Component Object

Parameters:
listener - a listener for the component object

setName

protected void setName(java.lang.String name)
Name this object.

Overrides:
setName in class NamedObjectImpl
Parameters:
name - the name to be given to this object.

setParent

protected void setParent(NamedObjectImpl parent)
Sets this object's parent.

Parameters:
parent - the named object that is to be the parent of this object.

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.