org.openspml.v2.util.xml
Interface ObjectFactory.ProfileRegistrar

All Known Implementing Classes:
DSMLProfileRegistrar
Enclosing interface:
ObjectFactory

public static interface ObjectFactory.ProfileRegistrar


Method Summary
 java.lang.String getProfileId()
          We ask that this be unique - namely as we only allow a registration once.
 void register(ObjectFactory of)
          Generally, this will turn around and add MarshallableCreator(s) to the object factory.
 void unregister(ObjectFactory of)
          Remove the creators from the factory.
 

Method Detail

getProfileId

public java.lang.String getProfileId()
We ask that this be unique - namely as we only allow a registration once. This is the field we use to check if the profile has been registered.

Returns:
the profile id - must be unique amongst used registars.

register

public void register(ObjectFactory of)
Generally, this will turn around and add MarshallableCreator(s) to the object factory.

Parameters:
of - This singleton ;-)

unregister

public void unregister(ObjectFactory of)
Remove the creators from the factory. At present, this is not called automatically.

Parameters:
of - This singleton ;-)


Copyright © Sun Microsystems, Inc. All Rights Reserved.