com.ibm.di.config.interfaces
Class GlobalRef

java.lang.Object
  extended by com.ibm.di.config.interfaces.GlobalRef
All Implemented Interfaces:
Serializable

public class GlobalRef
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GlobalRef(BaseConfiguration config)
           
GlobalRef(BaseConfiguration config, boolean ignoreMC)
           
 
Method Summary
 MetamergeConfig getMetamergeConfig()
           
 Object getObject()
          Returns the object this refers to Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.
 Object getObject(BaseConfiguration destination)
          Returns the object this refers to, in the local context if possible.
 String getURL()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalRef

public GlobalRef(BaseConfiguration config)

GlobalRef

public GlobalRef(BaseConfiguration config,
                 boolean ignoreMC)
Method Detail

getObject

public Object getObject()
                 throws Exception
Returns the object this refers to Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.

Throws:
Exception

getObject

public Object getObject(BaseConfiguration destination)
                 throws Exception
Returns the object this refers to, in the local context if possible. Since a GlobalRef is serialized/deserialized, it may not be the same object that was originally used.

Parameters:
destination - The local MetamergeConfig we should try to find the object in
Throws:
Exception

getMetamergeConfig

public MetamergeConfig getMetamergeConfig()
                                   throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

getURL

public String getURL()