01: /*
02: * The contents of this file are subject to the Sapient Public License
03: * Version 1.0 (the "License"); you may not use this file except in compliance
04: * with the License. You may obtain a copy of the License at
05: * http://carbon.sf.net/License.html.
06: *
07: * Software distributed under the License is distributed on an "AS IS" basis,
08: * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
09: * the specific language governing rights and limitations under the License.
10: *
11: * The Original Code is The Carbon Component Framework.
12: *
13: * The Initial Developer of the Original Code is Sapient Corporation
14: *
15: * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
16: */
17:
18: package org.sape.carbon.services.ejb.remote;
19:
20: import org.sape.carbon.services.ejb.HomeFactoryConfiguration;
21:
22: /**
23: * <p>This interface describes an EJB service home factory component tailored
24: * specifically for handling lookups for remote objects.</p>
25: * <p>Copyright 2002 Sapient</p>
26: * @since carbon 1.0
27: * @author Erik M Gottesman, June 2002
28: * @version $Revision: 1.7 $($Author: dvoet $ / $Date: 2003/05/05 21:21:28 $)
29: */
30: public interface RemoteHomeFactoryConfiguration extends
31: HomeFactoryConfiguration {
32:
33: /**
34: * <p>Accessor method for retrieving the URL of the JNDI provider
35: * associated with this home factory.</p>
36: * @return String The URL of the JNDI provider
37: */
38: String getProviderUrl();
39:
40: /**
41: * <p>Mutator method for associating a JNDI provider with this home
42: * factory.</p>
43: * @param providerUrl URL of a JNDI provider to be associated with this
44: * home factory
45: */
46: void setProviderUrl(String providerUrl);
47:
48: /**
49: * <p>Accessor method for determining whether or not this home factory is
50: * configured to use RMI-IIOP for EJB lookups.</p>
51: * @return boolean True if RMI-IIOP is to be used for EJB lookups
52: */
53: boolean isRmiIiop();
54:
55: /**
56: * <p>Mutator method for setting whether or not this home factory is
57: * configured to use RMI-IIOP for EJB lookups.</p>
58: * @param rmiIiop True if RMI-IIOP is to be used for EJB lookups
59: */
60: void setRmiIiop(boolean rmiIiop);
61: }
|