org.openorb.orb.net
Class LegacySocketStreamDecorationStrategy.Factory

java.lang.Object
  extended by org.openorb.orb.net.LegacySocketStreamDecorationStrategy.Factory
All Implemented Interfaces:
SocketStreamDecorationStrategy.Factory
Enclosing class:
LegacySocketStreamDecorationStrategy

public static final class LegacySocketStreamDecorationStrategy.Factory
extends java.lang.Object
implements SocketStreamDecorationStrategy.Factory

Factory for creating instances of LegacySocketStreamDecorationStrategy.


Constructor Summary
LegacySocketStreamDecorationStrategy.Factory()
          The required no-arg constructor
 
Method Summary
 SocketStreamDecorationStrategy create(LoggerTeam logger, ORBLoader loader, java.lang.String prefix)
          Optionally creates a new LegacySocketStreamDecorationStrategy based on the [<prefix>.]SocketInputStreamClass [<prefix>.]SocketOutputStreamClass properties defined in the loader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacySocketStreamDecorationStrategy.Factory

public LegacySocketStreamDecorationStrategy.Factory()
The required no-arg constructor

Method Detail

create

public SocketStreamDecorationStrategy create(LoggerTeam logger,
                                             ORBLoader loader,
                                             java.lang.String prefix)
Optionally creates a new LegacySocketStreamDecorationStrategy based on the [<prefix>.]SocketInputStreamClass [<prefix>.]SocketOutputStreamClass properties defined in the loader. If both of these properties are absent then no object is created.

Specified by:
create in interface SocketStreamDecorationStrategy.Factory
Parameters:
logger - the logger team to used
loader - the orb loader to be used
prefix - the optional property name prefix to use, e.g. "iiop"
Returns:
a new object or null.
Throws:
org.omg.CORBA.INITIALIZE - if problems occured during setup