Sun Message Library for SWIFT API

com.stc.swift.repository.impl
Class SwiftManagerImpl.ClassNameMapper

java.lang.Object
  extended by com.stc.swift.repository.impl.SwiftManagerImpl.ClassNameMapper
All Implemented Interfaces:
com.stc.repository.persistence.client.MarshalableFactory.ClassNameMapper
Enclosing class:
SwiftManagerImpl

public static class SwiftManagerImpl.ClassNameMapper
extends java.lang.Object
implements com.stc.repository.persistence.client.MarshalableFactory.ClassNameMapper

Type Resolver class for Object created using this API.


Constructor Summary
SwiftManagerImpl.ClassNameMapper()
           
 
Method Summary
 java.lang.String getAlias(java.lang.Class clazz)
          Returns the alias for the given class, to be used while persistence.
 java.lang.String getClassName(java.lang.String alias)
          Returns the class name from the given alias.
 java.lang.String getClassNameAlias()
           
static SwiftManagerImpl.ClassNameMapper getInstance()
          Returns a instance of ClassNameMapper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwiftManagerImpl.ClassNameMapper

public SwiftManagerImpl.ClassNameMapper()
Method Detail

getInstance

public static SwiftManagerImpl.ClassNameMapper getInstance()
Returns a instance of ClassNameMapper

Returns:
a singleton instance

getAlias

public java.lang.String getAlias(java.lang.Class clazz)
Returns the alias for the given class, to be used while persistence.

Specified by:
getAlias in interface com.stc.repository.persistence.client.MarshalableFactory.ClassNameMapper
Parameters:
clazz - a class
Returns:
the alias from the given class

getClassName

public java.lang.String getClassName(java.lang.String alias)
Returns the class name from the given alias.

Specified by:
getClassName in interface com.stc.repository.persistence.client.MarshalableFactory.ClassNameMapper
Parameters:
alias - an alias
Returns:
the name of java class
Since:
1.0

getClassNameAlias

public java.lang.String getClassNameAlias()
See Also:
Marshalable.getClassNameAlias()

Sun Message Library for SWIFT API

Copyright © 2008 Sun Microsystems, Inc. All rights reserved.